summaryrefslogtreecommitdiff
path: root/otk/widget.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-04 11:25:43 +0000
committerDana Jansens <danakj@orodu.net>2002-12-04 11:25:43 +0000
commit7dc834cc93efb9a4181ba7d29a72d49e596e9746 (patch)
treeb8ccadbce2bfe81f593542b665e9a5ece11072e8 /otk/widget.hh
parent772ff27864b724c884ca5681fedc42711c63ec82 (diff)
make setStyle() recursive
Diffstat (limited to 'otk/widget.hh')
-rw-r--r--otk/widget.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/otk/widget.hh b/otk/widget.hh
index 57973e9b..249a4e28 100644
--- a/otk/widget.hh
+++ b/otk/widget.hh
@@ -101,7 +101,7 @@ public:
void setDirection(Direction dir) { _direction = dir; }
inline Style *getStyle(void) const { return _style; }
- virtual void setStyle(Style *style) { assert(style); _style = style; }
+ virtual void setStyle(Style *style);
inline OtkEventDispatcher *getEventDispatcher(void)
{ return _event_dispatcher; }