(svn r8511) -Codechange: make WindowClass an enumerated value.
This commit is contained in:
@@ -88,7 +88,7 @@ static void DepotWndProc(Window *w, WindowEvent *e);
|
||||
|
||||
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 _train_depot_desc = {
|
||||
|
||||
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 _road_depot_desc = {
|
||||
|
||||
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 _ship_depot_desc = {
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user