From bcf87589a010480afbe6ab9f1b81cde37c6bdbb5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 17 May 2012 16:55:13 +0000 Subject: Fix a C++ link issue: If constant strings used only in constructor, the don't get linked into the final executable git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4743 42af7a65-404d-4744-a932-0658087f49c3 --- NxWidgets/libnxwidgets/src/cwidgetcontrol.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'NxWidgets/libnxwidgets') diff --git a/NxWidgets/libnxwidgets/src/cwidgetcontrol.cxx b/NxWidgets/libnxwidgets/src/cwidgetcontrol.cxx index 9d2c5c7e9..644abd714 100644 --- a/NxWidgets/libnxwidgets/src/cwidgetcontrol.cxx +++ b/NxWidgets/libnxwidgets/src/cwidgetcontrol.cxx @@ -803,7 +803,7 @@ bool CWidgetControl::pollMouseEvents(CNxWidget *widget) else if (m_mouse.leftDrag) { // The left button is still being held down - + if (m_clickedWidget != (CNxWidget *)NULL) { // Handle a mouse drag event -- cgit v1.2.3