X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/46de693afcd74154ed8b4f6bf6e81221e18a0f97..d664a4c16bb56138b53e8d6dba92e199bd3ea6c7:/tests/GUI/item.h?ds=sidebyside diff --git a/tests/GUI/item.h b/tests/GUI/item.h index 616b942..9880260 100644 --- a/tests/GUI/item.h +++ b/tests/GUI/item.h @@ -11,7 +11,8 @@ class CItem:public Gtk::DrawingArea { public: CItem(const char *filename); ~CItem(); - bool on_expose_event(GdkEventExpose* event); + virtual bool on_expose_event(GdkEventExpose* event); + Glib::RefPtr get_image() { return image; } private: Glib::RefPtr image; };