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
commit42d6f195cfff704343f2aad453d8a9241e330f4b (patch)
tree70f0abf62288ce472bd8fe99b21dbc296c18fb0d
parent544325590c87cbcb6645b2b67c194a892e56ced7 (diff)
downloadopenttd-42d6f195cfff704343f2aad453d8a9241e330f4b.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;