nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gn...@apache.org
Subject [incubator-nuttx-apps] branch master updated: fix apps/include/graphics/nxwidgets/cwidgetcontrol.hxx:550:20: error: ‘m_xyinput’ was not declared in this scope
Date Mon, 20 Apr 2020 13:09:03 GMT
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 <xiaoxiang@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 <xiaoxiang@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
     }
 
     /**


Mime
View raw message