Multiple inheritance



I am writing a class that must inherit from Gtk::VBox and Gtk::Entry, however, the compiler complains about this saying:
In file included from ../jme/gtkmmwidget/gtkmmwidget.cpp:2:
../jme/gtkmmwidget/gtkmmwidget.hpp:21: error: no unique final overrider for `virtual void Glib::ObjectBase::destroy_notify_()' in `jme::TextEntry'
../jme/gtkmmwidget/gtkmmwidget.hpp:21: error: no unique final overrider for `virtual void Glib::ObjectBase::set_manage()' in `jme::TextEntry'
../jme/gtkmmwidget/gtkmmwidget.hpp:21: error: no unique final overrider for `virtual void Glib::ObjectBase::destroy_notify_()' in `jme::TextEntry'
../jme/gtkmmwidget/gtkmmwidget.hpp:21: error: no unique final overrider for `virtual void Glib::ObjectBase::set_manage()' in `jme::TextEntry'
make.exe: *** [../jme/gtkmmwidget/gtkmmwidget.o] Error 1
Execution terminated
 
-- snip --
class TextEntry : public Gtk::VBox, public Gtk::Entry{...};
-- end of snip --
What am I doing wrogn?
 
 
TIA
* You cannot exercise your power to a point of humiliation.
- Jean Chretien

* It's amazing how the small seeds of distrust and misunderstanding
can yield a crop of hate and death...

* If that document has fine printing anywhere, just chuck it in the garbage
- Jorge Escalante
Ma'assalama! Adiós! bye!

Try the New Netscape Mail Today!
Virtually Spam-Free | More Storage | Import Your Contact List
http://mail.netscape.com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]