From 0b61b6c1d0eda707ce387ab4f41ffbeb35fb685d Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 16 May 2008 23:29:31 +0000 Subject: (svn r13129) -Codechange: remove the WP macro and it's related variables. --- src/window_gui.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/window_gui.h') 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); -- cgit v1.2.3-54-g00ecf