summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/GSpinBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/GSpinBox.h')
-rw-r--r--Libraries/LibGUI/GSpinBox.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Libraries/LibGUI/GSpinBox.h b/Libraries/LibGUI/GSpinBox.h
index c32e1d697d..d849c3c472 100644
--- a/Libraries/LibGUI/GSpinBox.h
+++ b/Libraries/LibGUI/GSpinBox.h
@@ -6,6 +6,7 @@ class GButton;
class GTextEditor;
class GSpinBox : public GWidget {
+ C_OBJECT(GSpinBox)
public:
GSpinBox(GWidget* parent = nullptr);
virtual ~GSpinBox() override;
@@ -21,8 +22,6 @@ public:
Function<void(int value)> on_change;
- virtual const char* class_name() const override { return "GSpinBox"; }
-
protected:
virtual void resize_event(GResizeEvent&) override;