summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2005-01-11 00:24:27 +0000
committerdarkvater <darkvater@openttd.org>2005-01-11 00:24:27 +0000
commit2d023f9c0b2fb33747505e8b135026d9e16c46eb (patch)
tree9cf6f972eeb8747ac28a93dd174c27b9117bde54 /window.h
parenta2a26db615e7e762a3ce16e723528191ede3ff87 (diff)
downloadopenttd-2d023f9c0b2fb33747505e8b135026d9e16c46eb.tar.xz
(svn r1478) -Fix: [1099195] mouse-wheel in train replace window. Scrollbar1 and Scrollbar2 now work independently. You can only scroll on list and scrollbar itself; scrollbar must be next widget of the list.
-Fix: updated the few gui's that didn't have the scrollbar right after the listbox.
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 89bc45364..25d34aed8 100644
--- a/window.h
+++ b/window.h
@@ -471,7 +471,7 @@ enum WindowFlags {
void DispatchLeftClickEvent(Window *w, int x, int y);
void DispatchRightClickEvent(Window *w, int x, int y);
-void DispatchMouseWheelEvent(Window *w, int wheel);
+void DispatchMouseWheelEvent(Window *w, uint widget, int wheel);
/* window.c */
void DrawOverlappedWindow(Window *w, int left, int top, int right, int bottom);