summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/src/ccyclebutton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/libnxwidgets/src/ccyclebutton.cxx')
-rw-r--r--NxWidgets/libnxwidgets/src/ccyclebutton.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/NxWidgets/libnxwidgets/src/ccyclebutton.cxx b/NxWidgets/libnxwidgets/src/ccyclebutton.cxx
index 0fdbba73c..b4dff685b 100644
--- a/NxWidgets/libnxwidgets/src/ccyclebutton.cxx
+++ b/NxWidgets/libnxwidgets/src/ccyclebutton.cxx
@@ -424,7 +424,7 @@ void CCycleButton::drawOutline(CGraphicsPort *port)
* @param y The y coordinate of the mouse.
*/
-void CCycleButton::onRelease(nxgl_coord_t x, nxgl_coord_t y)
+void CCycleButton::onPreRelease(nxgl_coord_t x, nxgl_coord_t y)
{
// Choose next option
@@ -447,6 +447,8 @@ void CCycleButton::onRelease(nxgl_coord_t x, nxgl_coord_t y)
}
redraw();
+
+ CButton::onPreRelease(x, y);
}
/**