diff options
Diffstat (limited to 'include/cru/ui/controls/Button.h')
-rw-r--r-- | include/cru/ui/controls/Button.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/cru/ui/controls/Button.h b/include/cru/ui/controls/Button.h index d35d7ef8..1828dc57 100644 --- a/include/cru/ui/controls/Button.h +++ b/include/cru/ui/controls/Button.h @@ -15,12 +15,8 @@ class CRU_UI_API Button : public SingleChildControl<render::BorderRenderObject>, public: static constexpr StringView kControlType = u"Button"; - static Button* Create() { return new Button(); } - - protected: - Button(); - public: + Button(); Button(const Button& other) = delete; Button(Button&& other) = delete; Button& operator=(const Button& other) = delete; |