aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/TextBox.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/TextBox.hpp')
-rw-r--r--include/cru/ui/controls/TextBox.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/TextBox.hpp b/include/cru/ui/controls/TextBox.hpp
index 3d4de7c0..5976f6da 100644
--- a/include/cru/ui/controls/TextBox.hpp
+++ b/include/cru/ui/controls/TextBox.hpp
@@ -10,7 +10,7 @@ class TextControlService;
class TextBox : public NoChildControl {
public:
- static constexpr std::string_view control_type = "TextBox";
+ static constexpr std::u16string_view control_type = u"TextBox";
static TextBox* Create() { return new TextBox(); }
@@ -23,7 +23,7 @@ class TextBox : public NoChildControl {
~TextBox() override;
- std::string_view GetControlType() const final { return control_type; }
+ std::u16string_view GetControlType() const final { return control_type; }
render::RenderObject* GetRenderObject() const override;