summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-11-22 14:02:45 +0000
committerpeter1138 <peter1138@openttd.org>2005-11-22 14:02:45 +0000
commit28df667ceb7fa74a1146a2bede0a908bc9dd3eb4 (patch)
tree14ffe183df9951923617671527f0b29f142b17e9 /window.h
parentaf6fe3949bd85f3ebbff210c82d6d0d90003d2a4 (diff)
downloadopenttd-28df667ceb7fa74a1146a2bede0a908bc9dd3eb4.tar.xz
(svn r3225) - Fix for "[ 1359165 ] Autoreplace problem with r3171 and later" -- Move the disabled/hidden bits to custom data in window struct.
Diffstat (limited to 'window.h')
-rw-r--r--window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/window.h b/window.h
index 72886b369..bffaf0d6e 100644
--- a/window.h
+++ b/window.h
@@ -453,6 +453,8 @@ typedef struct message_d {
assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(message_d));
typedef struct dropdown_d {
+ uint32 disabled_state;
+ uint32 hidden_state;
WindowClass parent_wnd_class;
WindowNumber parent_wnd_num;
byte parent_button;