mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-24 12:06:41 +00:00
Codechange: make WindowClass a scoped enum
This commit is contained in:
+1
-1
@@ -313,7 +313,7 @@ static constexpr std::initializer_list<NWidgetPart> _nested_build_trees_widgets
|
||||
/** Window definition for the tree building window. */
|
||||
static WindowDesc _build_trees_desc(
|
||||
WindowPosition::Automatic, "build_tree", 0, 0,
|
||||
WC_BUILD_TREES, WC_NONE,
|
||||
WindowClass::BuildTrees, WindowClass::None,
|
||||
WindowDefaultFlag::Construction,
|
||||
_nested_build_trees_widgets
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user