From cb842a3b50a28145bb8be977f4e9a7069701c88d Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 3 May 2012 19:46:37 +0000 Subject: Upated NxWM comments git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4692 42af7a65-404d-4744-a932-0658087f49c3 --- NxWidgets/nxwm/include/ctaskbar.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'NxWidgets/nxwm/include/ctaskbar.hxx') 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 }; } -- cgit v1.2.3