I have tried your proposal and created an object
class MyAttMarker : public TObject, public TAttMarker
{
public: MyAttMarker() : TAttMarker() { }
}
After replacing the two TAttMarker in my class my MyAttMarker and
drawing them in its Draw function I still get the wrong menu. Calling
void SetAtt1() from the context menu displays the menu corresponding to
the base class TAttLine of my object. This is somehow a weired
behaviour... I have an Object TAttMarker, call one of its data members
and get a menu corresponding to some totally different object, isn't it?
Thomas.
Rene Brun wrote:
> Two points: > -the object must be drawn in the pad > -the function with *MENU* must be a public function > > Rene > > On Thu, 28 Jul 2005, Thomas Bretz wrote: >
This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET