diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-12-04 11:25:43 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-12-04 11:25:43 +0000 |
| commit | 7dc834cc93efb9a4181ba7d29a72d49e596e9746 (patch) | |
| tree | b8ccadbce2bfe81f593542b665e9a5ece11072e8 /otk/widget.hh | |
| parent | 772ff27864b724c884ca5681fedc42711c63ec82 (diff) | |
make setStyle() recursive
Diffstat (limited to 'otk/widget.hh')
| -rw-r--r-- | otk/widget.hh | 2 |
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; } |
