X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fwidget.hh;h=c56b4a5621c82231853875d17b9cbb67f7180c31;hb=a4c8a839a3decc54e515fd110710195eca23fd2b;hp=31103debdb6e5a49e7cf55694f863058d6d0cfa3;hpb=74cfb1b4c115cdb4e05aa823b09d2b5ea9d0d690;p=chaz%2Fopenbox 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);