diff options
Diffstat (limited to 'include/cru/ui/controls/Window.hpp')
-rw-r--r-- | include/cru/ui/controls/Window.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/Window.hpp b/include/cru/ui/controls/Window.hpp index cca56b64..63b4d1e3 100644 --- a/include/cru/ui/controls/Window.hpp +++ b/include/cru/ui/controls/Window.hpp @@ -7,7 +7,7 @@ namespace cru::ui::controls { class Window final : public RootControl { public: - static constexpr std::u16string_view control_type = u"Window"; + static constexpr StringView control_type = u"Window"; public: static Window* Create(Control* attached_control = nullptr); @@ -22,7 +22,7 @@ class Window final : public RootControl { ~Window() override; public: - std::u16string_view GetControlType() const final { return control_type; } + String GetControlType() const final { return control_type.ToString(); } protected: gsl::not_null<platform::gui::INativeWindow*> CreateNativeWindow( |