summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/include/ctaskbar.hxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-03 19:46:37 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-03 19:46:37 +0000
commitcb842a3b50a28145bb8be977f4e9a7069701c88d (patch)
treeceff943c049bd7cbe1d9f4ed7ab836f8039098e6 /NxWidgets/nxwm/include/ctaskbar.hxx
parenta85f1d89916f8f0302c9f8cd77645a0c60fc93dc (diff)
downloadnuttx-cb842a3b50a28145bb8be977f4e9a7069701c88d.tar.gz
nuttx-cb842a3b50a28145bb8be977f4e9a7069701c88d.tar.bz2
nuttx-cb842a3b50a28145bb8be977f4e9a7069701c88d.zip
Upated NxWM comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4692 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/include/ctaskbar.hxx')
-rw-r--r--NxWidgets/nxwm/include/ctaskbar.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/NxWidgets/nxwm/include/ctaskbar.hxx b/NxWidgets/nxwm/include/ctaskbar.hxx
index c290cb8ae..4e12fdb2c 100644
--- a/NxWidgets/nxwm/include/ctaskbar.hxx
+++ b/NxWidgets/nxwm/include/ctaskbar.hxx
@@ -366,6 +366,7 @@ namespace NxWM
* used during automated testing of NxWM.
*/
+#ifdef CONFIG_NXWM_UNITTEST
inline void clickIcon(int index)
{
if (index < m_slots.size())
@@ -387,6 +388,7 @@ namespace NxWM
image->click(imagePos.x + (imageSize.w >> 1), imagePos.y + (imageSize.h >> 1));
}
}
+#endif
};
}