Re: [glade--] Never use g++-2.95 with glademm/gtkmm2 !!! was: unable to add new members to derived class
[email protected] (Murray Cumming)
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 2002-11-26 at 12:22, Christof Petig wrote: > > That seems like an over-reaction. There should be no problem if you use > > a default constructor. > > > > A default ctor for the base class IIRC. > > And in glade generated code the base class takes care of > creating/configuring/adding the widgets (which is of course done in the > ctor, so that you can access them in your custom class ctor). You mean that the glademm-generated class has no default constructor? > A workaround would be to use an empty ctor and call an initialization > method. But I don't plan to invest my time in this ugly hack (and its > documentation) (it's better invested in using g++ 3.2). Well I suggest that you accept a patch if it's important enough to anybody. > PS: BTW, SuSE already ships 3.2, debian plans to do since August, RH > should already, too, Yes. Redhat 8 has gcc 3.2. > Mandrake is IIRC ... -- Murray Cumming [email protected] www.murrayc.com