diff options
Diffstat (limited to 'include/cru/ui/controls/CheckBox.h')
-rw-r--r-- | include/cru/ui/controls/CheckBox.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/CheckBox.h b/include/cru/ui/controls/CheckBox.h index 19908389..8a2c84a0 100644 --- a/include/cru/ui/controls/CheckBox.h +++ b/include/cru/ui/controls/CheckBox.h @@ -12,12 +12,12 @@ class CRU_UI_API CheckBox : public NoChildControl, public virtual ICheckableControl, public virtual IClickableControl { public: - static constexpr StringView kControlType = u"CheckBox"; + static constexpr std::string_view kControlType = "CheckBox"; CheckBox(); ~CheckBox() override; - String GetControlType() const override { return kControlType.ToString(); } + std::string GetControlType() const override { return std::string(kControlType); } render::RenderObject* GetRenderObject() const override { return container_render_object_.get(); |