summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/gui.cpp4
-rw-r--r--src/gui/gui.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp
index 23b640737..f00821c60 100644
--- a/src/gui/gui.cpp
+++ b/src/gui/gui.cpp
@@ -802,7 +802,7 @@ void Gui::updateFonts()
}
void Gui::distributeMouseEvent(Widget *const source,
- const MouseEventType::Type type,
+ const MouseEventTypeT type,
const MouseButtonT button,
const int x, const int y,
const bool force,
@@ -853,7 +853,7 @@ void Gui::distributeMouseEvent(Widget *const source,
std::list<MouseListener*> mouseListeners
= widget->getMouseListeners();
- const MouseEventType::Type mouseType = event.getType();
+ const MouseEventTypeT mouseType = event.getType();
// Send the event to all mouse listeners of the widget.
FOR_EACH (std::list<MouseListener*>::const_iterator,
it, mouseListeners)
diff --git a/src/gui/gui.h b/src/gui/gui.h
index b1d443b81..8a2935208 100644
--- a/src/gui/gui.h
+++ b/src/gui/gui.h
@@ -328,7 +328,7 @@ class Gui final
void handleMouseInput();
void distributeMouseEvent(Widget *const source,
- const MouseEventType::Type type,
+ const MouseEventTypeT type,
const MouseButtonT button,
const int x, const int y,
const bool force = false,