summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/src/cfullscreenwindow.cxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-19 01:01:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-19 01:01:00 +0000
commita591b9ca86b86684f2804cedf5d0c17a3614e913 (patch)
treeb60235b0a038088298aa0f5497411fcb453c424d /NxWidgets/nxwm/src/cfullscreenwindow.cxx
parent6cf694d2da5a661373a58c70e3d8e07cc8223eed (diff)
downloadpx4-nuttx-a591b9ca86b86684f2804cedf5d0c17a3614e913.tar.gz
px4-nuttx-a591b9ca86b86684f2804cedf5d0c17a3614e913.tar.bz2
px4-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/cfullscreenwindow.cxx')
-rw-r--r--NxWidgets/nxwm/src/cfullscreenwindow.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/NxWidgets/nxwm/src/cfullscreenwindow.cxx b/NxWidgets/nxwm/src/cfullscreenwindow.cxx
index 0c34166c0..6ec5bf802 100644
--- a/NxWidgets/nxwm/src/cfullscreenwindow.cxx
+++ b/NxWidgets/nxwm/src/cfullscreenwindow.cxx
@@ -36,7 +36,7 @@
/********************************************************************************************
* Included Files
********************************************************************************************/
-
+
#include <nuttx/config.h>
#include <nuttx/nx/nxglib.h>
@@ -141,9 +141,11 @@ NXWidgets::CWidgetControl *CFullScreenWindow::getWidgetControl(void) const
/**
* Block further activity on this window in preparation for window
* shutdown.
+ *
+ * @param app. The application to be blocked
*/
-void CFullScreenWindow::block(void)
+void CFullScreenWindow::block(IApplication *app)
{
// Get the widget control from the NXWidgets::CNxWindow instance
@@ -152,7 +154,7 @@ void CFullScreenWindow::block(void)
// And then block further reporting activity on the underlying
// NX raw window
- nx_block(control->getWindowHandle());
+ nx_block(control->getWindowHandle(), (FAR void *)app);
}
/**