diff src/depot_gui.cpp @ 5893:8547517ef719 draft

(svn r8511) -Codechange: make WindowClass an enumerated value.
author rubidium <rubidium@openttd.org>
date Thu, 01 Feb 2007 15:49:12 +0000
parents 19c4635a0be0
children 1bc5a8fab0c9
line wrap: on
line diff
--- a/src/depot_gui.cpp
+++ b/src/depot_gui.cpp
@@ -88,7 +88,7 @@
 
 static const WindowDesc _train_depot_desc = {
 	WDP_AUTO, WDP_AUTO, 305, 96,
-	WC_VEHICLE_DEPOT,0,
+	WC_VEHICLE_DEPOT, WC_NONE,
 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 	_depot_widgets,
 	DepotWndProc
@@ -96,7 +96,7 @@
 
 static const WindowDesc _road_depot_desc = {
 	WDP_AUTO, WDP_AUTO, 305, 96,
-	WC_VEHICLE_DEPOT,0,
+	WC_VEHICLE_DEPOT, WC_NONE,
 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 	_depot_widgets,
 	DepotWndProc
@@ -104,7 +104,7 @@
 
 static const WindowDesc _ship_depot_desc = {
 	WDP_AUTO, WDP_AUTO, 305, 96,
-	WC_VEHICLE_DEPOT,0,
+	WC_VEHICLE_DEPOT, WC_NONE,
 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 	_depot_widgets,
 	DepotWndProc
@@ -112,7 +112,7 @@
 
 static const WindowDesc _aircraft_depot_desc = {
 	WDP_AUTO, WDP_AUTO, 305, 96,
-	WC_VEHICLE_DEPOT,0,
+	WC_VEHICLE_DEPOT, WC_NONE,
 	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
 	_depot_widgets,
 	DepotWndProc