diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-18 11:24:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-18 11:25:55 +0300 |
commit | 997a8cd0794f208d4c148588f42695f2a5d0b3a8 (patch) | |
tree | 7a675f212be578675ddb480fc6cd9f9bb2a2caeb /src/gui/widgets/checkbox.cpp | |
parent | a2adcb49e33928694c6b7c6b412895f8d45bbef9 (diff) | |
download | manaplus-997a8cd0794f208d4c148588f42695f2a5d0b3a8.tar.gz manaplus-997a8cd0794f208d4c148588f42695f2a5d0b3a8.tar.bz2 manaplus-997a8cd0794f208d4c148588f42695f2a5d0b3a8.tar.xz manaplus-997a8cd0794f208d4c148588f42695f2a5d0b3a8.zip |
Add tooltips to checkbox.
Diffstat (limited to 'src/gui/widgets/checkbox.cpp')
-rw-r--r-- | src/gui/widgets/checkbox.cpp | 5 |
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) |