From 91e38a73cd93af894ecaf44476ae8e6313670cb5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 15 May 2012 16:40:43 +0000 Subject: NxWidgets: New pre-release event. Action now raised on pre-release. NxWM: Use action event to process icon touches; Fix initialization of image highlighted state. git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4740 42af7a65-404d-4744-a932-0658087f49c3 --- NxWidgets/nxwm/src/capplicationwindow.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'NxWidgets/nxwm/src/capplicationwindow.cxx') diff --git a/NxWidgets/nxwm/src/capplicationwindow.cxx b/NxWidgets/nxwm/src/capplicationwindow.cxx index 320559ef7..df8c69f11 100644 --- a/NxWidgets/nxwm/src/capplicationwindow.cxx +++ b/NxWidgets/nxwm/src/capplicationwindow.cxx @@ -498,12 +498,12 @@ void CApplicationWindow::clickStopIcon(int index) #endif /** - * Handle a mouse button click event. + * Handle a widget action event. For CImage, this is a mouse button pre-release event. * * @param e The event data. */ -void CApplicationWindow::handleClickEvent(const NXWidgets::CWidgetEventArgs &e) +void CApplicationWindow::handleActionEvent(const NXWidgets::CWidgetEventArgs &e) { // Ignore the event if no callback is registered -- cgit v1.2.3