aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/Button.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/Button.hpp')
-rw-r--r--include/cru/ui/controls/Button.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/Button.hpp b/include/cru/ui/controls/Button.hpp
index 8a11409c..a4f727d6 100644
--- a/include/cru/ui/controls/Button.hpp
+++ b/include/cru/ui/controls/Button.hpp
@@ -7,7 +7,7 @@
namespace cru::ui::controls {
class Button : public ContentControl {
public:
- static constexpr std::string_view control_type = "Button";
+ static constexpr std::u16string_view control_type = u"Button";
static Button* Create() { return new Button(); }
@@ -21,7 +21,7 @@ class Button : public ContentControl {
Button& operator=(Button&& other) = delete;
~Button() override;
- std::string_view GetControlType() const final { return control_type; }
+ std::u16string_view GetControlType() const final { return control_type; }
render::RenderObject* GetRenderObject() const override;