summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-09-23 07:44:03 +0000
committerpeter1138 <peter1138@openttd.org>2005-09-23 07:44:03 +0000
commit968f7dcf557554b365ce7423e387c195e400621b (patch)
tree9dc6feea02a86c189e304662e0168b31a20fa5ec /window.h
parenta9bb8ef095483f4a5060263e7d27f9c139930209 (diff)
downloadopenttd-968f7dcf557554b365ce7423e387c195e400621b.tar.xz
(svn r2974) -Fix: Drag and drop selection on drop down boxes didn't select correct item when some items were hidden.
-Separate disabled and hidden masks in drop downs to support both hidden and disabled items.
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 ccb14e81a..79b8db305 100644
--- a/window.h
+++ b/window.h
@@ -617,7 +617,7 @@ int PositionMainToolbar(Window *w);
/* widget.c */
int GetWidgetFromPos(const Window *w, int x, int y);
void DrawWindowWidgets(const Window *w);
-void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int button, uint32 disabled_mask, bool remove_filtered_strings);
+void ShowDropDownMenu(Window *w, const StringID *strings, int selected, int button, uint32 disabled_mask, uint32 hidden_mask);
void HandleButtonClick(Window *w, byte widget);