You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/04/20 13:09:03 UTC
[incubator-nuttx-apps] branch master updated: fix apps/include/graphics/nxwidgets/cwidgetcontrol.hxx:550:20: error: ‘m_xyinput’ was not declared in this scope
This is an automated email from the ASF dual-hosted git repository.
gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 63288eb fix apps/include/graphics/nxwidgets/cwidgetcontrol.hxx:550:20: error: ‘m_xyinput’ was not declared in this scope
63288eb is described below
commit 63288eb81fd57b7778e0d8fe804ac6a5a3f5751f
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Mon Apr 20 12:14:57 2020 +0800
fix apps/include/graphics/nxwidgets/cwidgetcontrol.hxx:550:20: error: ‘m_xyinput’ was not declared in this scope
Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
include/graphics/nxwidgets/cwidgetcontrol.hxx | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/include/graphics/nxwidgets/cwidgetcontrol.hxx b/include/graphics/nxwidgets/cwidgetcontrol.hxx
index a51a0b9..7533d06 100644
--- a/include/graphics/nxwidgets/cwidgetcontrol.hxx
+++ b/include/graphics/nxwidgets/cwidgetcontrol.hxx
@@ -547,7 +547,11 @@ namespace NXWidgets
inline bool doubleClick(void)
{
+#ifdef CONFIG_NX_XYINPUT
return (bool)m_xyinput.doubleClick;
+#else
+ return false;
+#endif
}
/**