]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - tests/GUI/item.h
Mini bugfix.
[z.facultad/75.42/plaqui.git] / tests / GUI / item.h
index 616b942a99e0a431c86e7ca6f099058bed56d589..9880260f65ea51a7c331239c0a0432bd0ed542b8 100644 (file)
@@ -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<Gdk::Pixbuf> get_image() { return image; }
 private:
        Glib::RefPtr<Gdk::Pixbuf> image;
 };