summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-07-08 00:14:19 +0000
committerDarkvater <Darkvater@openttd.org>2005-07-08 00:14:19 +0000
commit5f2c7448b573c0f7c9453c4ee9b3bdabdbee74cc (patch)
tree676563459da0d4d5fad9860a275eb2b8dfb3f90b /window.h
parentbf794fad622292e09037ca32e5ff806c1db44965 (diff)
downloadopenttd-5f2c7448b573c0f7c9453c4ee9b3bdabdbee74cc.tar.xz
(svn r2530) - Fix: [ 1219829 ] Mouse-wheel crashes OTTD. Widget detection failed to detect the most-right and most-bottom pixels of a widget. If scrollwheel is used on a not-found widget (such as the background of the toolbar), it will now fail correctly (glx)
Diffstat (limited to 'window.h')
-rw-r--r--window.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/window.h b/window.h
index 145137eb4..25a0c6c90 100644
--- a/window.h
+++ b/window.h
@@ -546,7 +546,7 @@ enum WindowFlags {
void DispatchLeftClickEvent(Window *w, int x, int y);
void DispatchRightClickEvent(Window *w, int x, int y);
-void DispatchMouseWheelEvent(Window *w, uint widget, int wheel);
+void DispatchMouseWheelEvent(Window *w, int widget, int wheel);
/* window.c */
void DrawOverlappedWindow(Window *w, int left, int top, int right, int bottom);