diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-08 15:28:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-02-08 15:28:07 +0000 |
commit | b6abad5fbf5877bf9c26269bff418726f26e4b9d (patch) | |
tree | 945b66a02dfe50fed4a55a500a96f11d81d7d9e3 /NxWidgets/libnxwidgets/src | |
parent | 1442e62637fa138626671be49b51d5329c6536c3 (diff) | |
download | px4-nuttx-b6abad5fbf5877bf9c26269bff418726f26e4b9d.tar.gz px4-nuttx-b6abad5fbf5877bf9c26269bff418726f26e4b9d.tar.bz2 px4-nuttx-b6abad5fbf5877bf9c26269bff418726f26e4b9d.zip |
Several patches from Petteri Aimonen
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5625 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/libnxwidgets/src')
-rw-r--r-- | NxWidgets/libnxwidgets/src/ccyclebutton.cxx | 4 |
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); } /** |