diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-19 01:01:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-19 01:01:00 +0000 |
commit | a591b9ca86b86684f2804cedf5d0c17a3614e913 (patch) | |
tree | b60235b0a038088298aa0f5497411fcb453c424d /NxWidgets/nxwm/src/capplicationwindow.cxx | |
parent | 6cf694d2da5a661373a58c70e3d8e07cc8223eed (diff) | |
download | nuttx-a591b9ca86b86684f2804cedf5d0c17a3614e913.tar.gz nuttx-a591b9ca86b86684f2804cedf5d0c17a3614e913.tar.bz2 nuttx-a591b9ca86b86684f2804cedf5d0c17a3614e913.zip |
NxWM: Add a missing part of the message blocking logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4748 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/src/capplicationwindow.cxx')
-rw-r--r-- | NxWidgets/nxwm/src/capplicationwindow.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/NxWidgets/nxwm/src/capplicationwindow.cxx b/NxWidgets/nxwm/src/capplicationwindow.cxx index c0bc9ed62..5cf172ea6 100644 --- a/NxWidgets/nxwm/src/capplicationwindow.cxx +++ b/NxWidgets/nxwm/src/capplicationwindow.cxx @@ -426,9 +426,11 @@ NXWidgets::CWidgetControl *CApplicationWindow::getWidgetControl(void) const /** * Block further activity on this window in preparation for window * shutdown. + * + * @param app. The application to be blocked */ -void CApplicationWindow::block(void) +void CApplicationWindow::block(IApplication *app) { // Get the widget control from the NXWidgets::CNxWindow instance @@ -437,7 +439,7 @@ void CApplicationWindow::block(void) // And then block further reporting activity on the underlying // NX framed window - nxtk_block(control->getWindowHandle()); + nxtk_block(control->getWindowHandle(), (FAR void *)app); } /** |