summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/src/cstartwindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/nxwm/src/cstartwindow.cxx')
-rw-r--r--NxWidgets/nxwm/src/cstartwindow.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/NxWidgets/nxwm/src/cstartwindow.cxx b/NxWidgets/nxwm/src/cstartwindow.cxx
index af46e7b82..5c54cba3a 100644
--- a/NxWidgets/nxwm/src/cstartwindow.cxx
+++ b/NxWidgets/nxwm/src/cstartwindow.cxx
@@ -99,11 +99,6 @@ CStartWindow::CStartWindow(CTaskbar *taskbar, CApplicationWindow *window)
// Add our callbacks to the application window
window->registerCallbacks(static_cast<IApplicationCallback *>(this));
-
- // Add our messenger as the window callback
-
- NXWidgets::CWidgetControl *control = window->getWidgetControl();
- control->addWindowEventHandler(&m_messenger);
}
/**
@@ -117,11 +112,6 @@ CStartWindow::~CStartWindow(void)
stop();
- // Remove ourself from the window callback
-
- NXWidgets::CWidgetControl *control = m_window->getWidgetControl();
- control->removeWindowEventHandler(&m_messenger);
-
// Although we didn't create it, we are responsible for deleting the
// application window