aboutsummaryrefslogtreecommitdiff
path: root/include/cru/ui/controls/IconButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/ui/controls/IconButton.h')
-rw-r--r--include/cru/ui/controls/IconButton.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cru/ui/controls/IconButton.h b/include/cru/ui/controls/IconButton.h
index 9dbb3a3d..9e7572e0 100644
--- a/include/cru/ui/controls/IconButton.h
+++ b/include/cru/ui/controls/IconButton.h
@@ -17,14 +17,14 @@ class CRU_UI_API IconButton : public NoChildControl,
public virtual IBorderControl,
public virtual IContentBrushControl {
public:
- static constexpr StringView kControlType = u"IconButton";
+ static constexpr std::string_view kControlType = "IconButton";
public:
IconButton();
IconButton(std::string_view icon_svg_path_data_string, const Rect& view_port);
~IconButton() override;
- String GetControlType() const final { return kControlType.ToString(); }
+ std::string GetControlType() const final { return std::string(kControlType); }
render::RenderObject* GetRenderObject() const override {
return container_render_object_.get();