Codechange: Set storage type of widget enums to WidgetID.
This commit is contained in:
committed by
Peter Nelson
parent
a0dfb76e34
commit
268e512fb8
@@ -11,7 +11,7 @@
|
||||
#define WIDGETS_AIRPORT_WIDGET_H
|
||||
|
||||
/** Widgets of the #BuildAirToolbarWindow class. */
|
||||
enum AirportToolbarWidgets {
|
||||
enum AirportToolbarWidgets : WidgetID {
|
||||
WID_AT_AIRPORT, ///< Build airport button.
|
||||
WID_AT_DEMOLISH, ///< Demolish button.
|
||||
|
||||
@@ -19,7 +19,7 @@ enum AirportToolbarWidgets {
|
||||
};
|
||||
|
||||
/** Widgets of the #BuildAirportWindow class. */
|
||||
enum AirportPickerWidgets {
|
||||
enum AirportPickerWidgets : WidgetID {
|
||||
WID_AP_CLASS_DROPDOWN, ///< Dropdown of airport classes.
|
||||
WID_AP_AIRPORT_LIST, ///< List of airports.
|
||||
WID_AP_SCROLLBAR, ///< Scrollbar of the list.
|
||||
|
||||
Reference in New Issue
Block a user