From 3b875091c445b7465b9bd044914318989a94d2ad Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 21 Nov 2025 21:43:42 +0800 Subject: Clean codes. Remove member function const. --- include/cru/ui/controls/Window.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/cru/ui/controls/Window.h') diff --git a/include/cru/ui/controls/Window.h b/include/cru/ui/controls/Window.h index 3d3ff0b0..2c650c41 100644 --- a/include/cru/ui/controls/Window.h +++ b/include/cru/ui/controls/Window.h @@ -19,14 +19,12 @@ class CRU_UI_API Window friend Control; public: - static constexpr std::string_view kControlType = "Window"; + static constexpr auto kControlName = "Window"; Window(); static Window* CreatePopup(); - std::string GetControlType() const override; - void SetAttachedControl(Control* control); platform::gui::INativeWindow* GetNativeWindow(); -- cgit v1.2.3