X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fwidget.hh;h=2e58cc9928459726876bb984822dd56ccbabd117;hb=9860b76c50e5ecacc85921539058eab4c655c38d;hp=80d269da08e6209025b4af4522bb07b5e615f367;hpb=fb3848450e649a05c0bed84a02bc9ab4e563b5d9;p=chaz%2Fopenbox diff --git a/otk/widget.hh b/otk/widget.hh index 80d269da..2e58cc99 100644 --- a/otk/widget.hh +++ b/otk/widget.hh @@ -97,7 +97,7 @@ public: void setDirection(Direction dir) { _direction = dir; } inline Style *getStyle(void) const { return _style; } - void setStyle(Style *style) { assert(style); _style = style; } + virtual void setStyle(Style *style) { assert(style); _style = style; } inline OtkEventDispatcher *getEventDispatcher(void) { return _event_dispatcher; }