summaryrefslogtreecommitdiff
path: root/NxWidgets/UnitTests
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-13 14:36:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-13 14:36:59 +0000
commit193f6fa1764c7d1d88efced8af88c785ebff891f (patch)
treead7cd2e11ec8b196ca588de12508afb294a689c8 /NxWidgets/UnitTests
parentdddc850bfc8afdd0fb6e02d1541636931abaa70a (diff)
downloadnuttx-193f6fa1764c7d1d88efced8af88c785ebff891f.tar.gz
nuttx-193f6fa1764c7d1d88efced8af88c785ebff891f.tar.bz2
nuttx-193f6fa1764c7d1d88efced8af88c785ebff891f.zip
NxWM: Fix detection of touch events in the tool bar; Start window should not have a stop icon
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4729 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/UnitTests')
-rw-r--r--NxWidgets/UnitTests/nxwm/main.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/NxWidgets/UnitTests/nxwm/main.cxx b/NxWidgets/UnitTests/nxwm/main.cxx
index 271fd22c2..9026a670e 100644
--- a/NxWidgets/UnitTests/nxwm/main.cxx
+++ b/NxWidgets/UnitTests/nxwm/main.cxx
@@ -300,9 +300,11 @@ static bool createStartWindow(void)
// in the start window.
// 4. Call CTaskBar::startApplication (initially minimized) to start the start
// window application.
+ //
+ // NOTE: that the start window should not have a stop button.
printf(MAIN_STRING "Opening the start window application window\n");
- NxWM::CApplicationWindow *window = g_nxwmtest.taskbar->openApplicationWindow();
+ NxWM::CApplicationWindow *window = g_nxwmtest.taskbar->openApplicationWindow(NxWM::CApplicationWindow::WINDOW_PERSISTENT);
if (!window)
{
printf(MAIN_STRING "ERROR: Failed to create CApplicationWindow for the start window\n");