summaryrefslogtreecommitdiff
path: root/src/gui/widgets/checkbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/checkbox.cpp')
-rw-r--r--src/gui/widgets/checkbox.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp
index 15ad7e3ec..96231fd4b 100644
--- a/src/gui/widgets/checkbox.cpp
+++ b/src/gui/widgets/checkbox.cpp
@@ -89,7 +89,7 @@ CheckBox::CheckBox(const Widget2 *const widget,
ActionListener *const listener,
const std::string &restrict eventId) :
Widget(widget),
- MouseListener(),
+ ToolTipListener(),
KeyListener(),
mSelected(selected),
mCaption(),
@@ -233,9 +233,10 @@ void CheckBox::mouseEntered(MouseEvent& event A_UNUSED)
mHasMouse = true;
}
-void CheckBox::mouseExited(MouseEvent& event A_UNUSED)
+void CheckBox::mouseExited(MouseEvent& event)
{
mHasMouse = false;
+ ToolTipListener::mouseExited(event);
}
void CheckBox::keyPressed(KeyEvent& event)