summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-16 23:29:31 +0000
committerrubidium <rubidium@openttd.org>2008-05-16 23:29:31 +0000
commit55546ae82cb95b04665d6e69994d01f3d78796c3 (patch)
treee28d4465d9fb518bc90c5a86b6f04758fbd49490 /src/window_gui.h
parent7ae25c25b6160f5d67c39f3808910110051f807f (diff)
downloadopenttd-55546ae82cb95b04665d6e69994d01f3d78796c3.tar.xz
(svn r13129) -Codechange: remove the WP macro and it's related variables.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index b6636e2cc..62cf86f72 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -245,8 +245,6 @@ enum WindowDefaultPosition {
WDP_ALIGN_TBL = -4, ///< Align the left side of the window with the left side of the main toolbar
};
-#define WP(ptr, str) (*(str*)(ptr)->custom)
-
/**
* Scrollbar data structure
*/
@@ -320,7 +318,6 @@ public:
uint32 desc_flags; ///< Window/widgets default flags setting, @see WindowDefaultFlag
Window *parent; ///< Parent window
- byte custom[WINDOW_CUSTOM_SIZE]; ///< Additional data depending on window type
void HandleButtonClick(byte widget);