diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-19 04:20:56 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-19 04:20:56 +0000 |
commit | 38b3dcac9e4dcb225ceaa7a4798a644537c50ece (patch) | |
tree | aec833bcd4833134c4a769b6e3057a06eb2a9f74 /NxWidgets/nxwm/src/cstartwindow.cxx | |
parent | e5350e893168b675cfd96b36fd7aad3ccfabf791 (diff) | |
download | px4-nuttx-38b3dcac9e4dcb225ceaa7a4798a644537c50ece.tar.gz px4-nuttx-38b3dcac9e4dcb225ceaa7a4798a644537c50ece.tar.bz2 px4-nuttx-38b3dcac9e4dcb225ceaa7a4798a644537c50ece.zip |
NxWM unit test now appears bug free (other than some NxConsole-related issues).
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4750 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/src/cstartwindow.cxx')
-rw-r--r-- | NxWidgets/nxwm/src/cstartwindow.cxx | 10 |
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 |