diff options
Diffstat (limited to 'otk/widget.cc')
| -rw-r--r-- | otk/widget.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/otk/widget.cc b/otk/widget.cc index 9ae25cfc..130bafea 100644 --- a/otk/widget.cc +++ b/otk/widget.cc @@ -40,6 +40,7 @@ OtkWidget::OtkWidget(OtkApplication *app, Direction direction, assert(app); create(); _event_dispatcher->registerHandler(_window, this); + app->setMainWidget(this); } OtkWidget::OtkWidget(Style *style, Direction direction, |
