summaryrefslogtreecommitdiff
path: root/src/misc_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-19 09:48:47 +0000
committerrubidium <rubidium@openttd.org>2008-05-19 09:48:47 +0000
commit27c38052b73615fa815272972df58daf0308307d (patch)
treead107e2b54965a8bc93dbd8dfc8a03260f20660d /src/misc_gui.cpp
parentfc29abf62113dd2545bdb5c05760e3539f6acf74 (diff)
downloadopenttd-27c38052b73615fa815272972df58daf0308307d.tar.xz
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
Diffstat (limited to 'src/misc_gui.cpp')
-rw-r--r--src/misc_gui.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index d78d4fe03..4e5ea1b14 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -69,7 +69,6 @@ static const WindowDesc _land_info_desc = {
WC_LAND_INFO, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_land_info_widgets,
- NULL
};
class LandInfoWindow : public Window {
@@ -219,7 +218,6 @@ static const WindowDesc _about_desc = {
WC_GAME_OPTIONS, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_about_widgets,
- NULL
};
struct AboutWindow : public Window {
@@ -1074,7 +1072,6 @@ static const WindowDesc _query_string_desc = {
WC_QUERY_STRING, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_query_string_widgets,
- NULL
};
/** Show a query popup window with a textbox in it.
@@ -1208,7 +1205,6 @@ static const WindowDesc _query_desc = {
WC_CONFIRM_POPUP_QUERY, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_DEF_WIDGET | WDF_MODAL,
_query_widgets,
- NULL
};
/** Show a modal confirmation window with standard 'yes' and 'no' buttons
@@ -1589,7 +1585,6 @@ static const WindowDesc _load_dialog_desc = {
WC_SAVELOAD, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
_load_dialog_widgets,
- NULL,
};
static const WindowDesc _save_dialog_desc = {
@@ -1597,7 +1592,6 @@ static const WindowDesc _save_dialog_desc = {
WC_SAVELOAD, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_STD_BTN | WDF_UNCLICK_BUTTONS | WDF_RESIZABLE,
_save_dialog_widgets,
- NULL,
};
/** These values are used to convert the file/operations mode into a corresponding file type.