wxShapeFramework
1.13.0 beta
|
Class encapsulates wxEVT_SF_SHAPE_CHILD_DROP event. More...
#include <SFEvents.h>
Public Member Functions | |
wxSFShapeChildDropEvent (wxEventType cmdType=wxEVT_NULL, int id=0) | |
Constructor. | |
wxSFShapeChildDropEvent (const wxSFShapeChildDropEvent &obj) | |
Copy constructor. | |
virtual | ~wxSFShapeChildDropEvent () |
Destructor. | |
void | SetShape (wxSFShapeBase *shape) |
Insert a shape object to the event object. | |
wxSFShapeBase * | GetShape () |
Get a shape object from the event object. | |
void | SetChildShape (wxSFShapeBase *ChildShape) |
Set a pointer to dropped child shape. | |
wxSFShapeBase * | GetChildShape () |
Get a pointer to dropped child shape. | |
wxEvent * | Clone () const |
Clone this event object and return pointer to the new instance. | |
Private Attributes | |
wxSFShapeBase * | m_Shape |
Pointer to stored shape object. | |
wxSFShapeBase * | m_ChildShape |
Pointer to dropped child object. |
Class encapsulates wxEVT_SF_SHAPE_CHILD_DROP event.
wxSFShapeChildDropEvent::wxSFShapeChildDropEvent | ( | wxEventType | cmdType = wxEVT_NULL , |
int | id = 0 |
||
) |
Constructor.
Copy constructor.
virtual wxSFShapeChildDropEvent::~wxSFShapeChildDropEvent | ( | ) | [virtual] |
Destructor.
wxEvent* wxSFShapeChildDropEvent::Clone | ( | ) | const [inline] |
Clone this event object and return pointer to the new instance.
wxSFShapeBase* wxSFShapeChildDropEvent::GetChildShape | ( | ) | [inline] |
Get a pointer to dropped child shape.
wxSFShapeBase* wxSFShapeChildDropEvent::GetShape | ( | ) | [inline] |
Get a shape object from the event object.
void wxSFShapeChildDropEvent::SetChildShape | ( | wxSFShapeBase * | ChildShape | ) | [inline] |
Set a pointer to dropped child shape.
ChildShape | Pointer to dropped child shape |
void wxSFShapeChildDropEvent::SetShape | ( | wxSFShapeBase * | shape | ) | [inline] |
Insert a shape object to the event object.
shape | Pointer to the shape object |
Pointer to dropped child object.
wxSFShapeBase* wxSFShapeChildDropEvent::m_Shape [private] |
Pointer to stored shape object.