diff options
Diffstat (limited to 'Libraries/LibGUI/GScrollBar.h')
-rw-r--r-- | Libraries/LibGUI/GScrollBar.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Libraries/LibGUI/GScrollBar.h b/Libraries/LibGUI/GScrollBar.h index ff906d2edc..2197e51bd2 100644 --- a/Libraries/LibGUI/GScrollBar.h +++ b/Libraries/LibGUI/GScrollBar.h @@ -5,6 +5,7 @@ #include <LibGUI/GWidget.h> class GScrollBar final : public GWidget { + C_OBJECT(GScrollBar) public: explicit GScrollBar(Orientation, GWidget* parent); virtual ~GScrollBar() override; @@ -27,8 +28,6 @@ public: Function<void(int)> on_change; - virtual const char* class_name() const override { return "GScrollBar"; } - enum Component { Invalid, DecrementButton, |