X-Git-Url: http://git.tdb.fi/?p=libs%2Fgltk.git;a=blobdiff_plain;f=source%2Froot.h;h=0d30951f41984b79da011be65164118bcc47be70;hp=863f1f781eaaf486ac0bb84d847f80ca34bd9033;hb=1fde94c15fc65e85f5931a9daf74dd8806e682e0;hpb=c2635c5a3dca6a6cea5562fd387beb0662b18cf0 diff --git a/source/root.h b/source/root.h index 863f1f7..0d30951 100644 --- a/source/root.h +++ b/source/root.h @@ -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);