summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-12-08 01:30:18 +0000
committerbelugas <belugas@openttd.org>2007-12-08 01:30:18 +0000
commitaf4d07b978a54c375e3548083dbe6720f87fd68b (patch)
tree70f0abf62288ce472bd8fe99b21dbc296c18fb0d
parent8c89641dbe11528b8a3724a3a2061c3c04e11ce4 (diff)
downloadopenttd-af4d07b978a54c375e3548083dbe6720f87fd68b.tar.xz
(svn r11593) -Cleanup: remove some forgotten pieces of evidence of a mischief
-rw-r--r--src/window.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 19b5ccc7f..e5628a3de 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -26,18 +26,6 @@ static Window _windows[25];
Window *_z_windows[lengthof(_windows)];
Window **_last_z_window; ///< always points to the next free space in the z-array
-void RaiseWindowButtons(Window *w)
-{
- uint i;
-
- for (i = 0; i < w->widget_count; i++) {
- if (w->IsWidgetLowered(i)) {
- w->RaiseWidget(i);
- w->InvalidateWidget(i);
- }
- }
-}
-
void CDECL Window::SetWidgetsDisabledState(bool disab_stat, int widgets, ...)
{
va_list wdg_list;