]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/root.h
Add a missing colon to button.h
[libs/gltk.git] / source / root.h
index 863f1f781eaaf486ac0bb84d847f80ca34bd9033..0d30951f41984b79da011be65164118bcc47be70 100644 (file)
@@ -28,7 +28,7 @@ private:
 public:
        Root(Resources &, Window &);
 private:
-       const char *get_class() const { return "root"; }
+       virtual const char *get_class() const { return "root"; }
        void button_press_event(int, int, unsigned, unsigned);
        void button_release_event(int, int, unsigned, unsigned);
        void pointer_motion_event(int, int);