diff options
Diffstat (limited to 'otk/widget.hh')
| -rw-r--r-- | otk/widget.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/otk/widget.hh b/otk/widget.hh index 31103deb..c56b4a56 100644 --- a/otk/widget.hh +++ b/otk/widget.hh @@ -77,7 +77,7 @@ public: virtual void exposeHandler(const XExposeEvent &e); virtual void configureHandler(const XConfigureEvent &e); - virtual void styleChanged(const RenderStyle &) {} + virtual void styleChanged(const RenderStyle &style); protected: virtual void addChild(Widget *w) { assert(w); _children.push_back(w); } @@ -85,7 +85,7 @@ protected: //! Find the default min/max sizes for the widget. Useful after the in-use //! style has changed. - virtual void calcDefaultSizes() {}; + virtual void calcDefaultSizes(); virtual void setMinSize(const Size &s); |
