Hi again, I found that using the default constructor for TEllipse causes problems. The problem is illustrated by commenting out the non-default initialization to MyThing::fEllipse from my previous posting. If I go in and add initializations to TEllipse::TEllipse() like: TEllipse::TEllipse(): TObject(), TAttLine(), TAttFill() { //*-*-*-*-*-*-*-*-*-*-*Ellipse default constructor*-*-*-*-*-*-*-*-*-*-*-*-*-* //*-* =========================== fX1 = 0; fY1 = 0; fR1 = 1; fR2 = 1; fPhimin = 0; fPhimax = 360; fTheta = 0; } Then things work fine. After a quick survey, it looks like only some of the classes in graf/src suffer from this problem, many have default settings in the default ctor. Cheers, -Brett.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:40 MET