diff options
author | peter1138 <peter1138@openttd.org> | 2005-09-23 07:44:03 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2005-09-23 07:44:03 +0000 |
commit | 9c2700b14ca96b76a357ee27ae1abbc2a3736658 (patch) | |
tree | 9dc6feea02a86c189e304662e0168b31a20fa5ec /window.h | |
parent | 313fcfbd83e45f8b4d6041402306685ab787d42e (diff) | |
download | openttd-9c2700b14ca96b76a357ee27ae1abbc2a3736658.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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |