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. More... | |
wxSFShapeChildDropEvent (const wxSFShapeChildDropEvent &obj) | |
Copy constructor. More... | |
virtual | ~wxSFShapeChildDropEvent () |
Destructor. More... | |
void | SetShape (wxSFShapeBase *shape) |
Insert a shape object to the event object. More... | |
wxSFShapeBase * | GetShape () |
Get a shape object from the event object. More... | |
void | SetChildShape (wxSFShapeBase *ChildShape) |
Set a pointer to dropped child shape. More... | |
wxSFShapeBase * | GetChildShape () |
Get a pointer to dropped child shape. More... | |
wxEvent * | Clone () const |
Clone this event object and return pointer to the new instance. More... | |
Private Attributes | |
wxSFShapeBase * | m_Shape |
Pointer to stored shape object. More... | |
wxSFShapeBase * | m_ChildShape |
Pointer to dropped child object. More... | |
Class encapsulates wxEVT_SF_SHAPE_CHILD_DROP event.
wxSFShapeChildDropEvent::wxSFShapeChildDropEvent | ( | wxEventType | cmdType = wxEVT_NULL , |
int | id = 0 |
||
) |
Constructor.
wxSFShapeChildDropEvent::wxSFShapeChildDropEvent | ( | const wxSFShapeChildDropEvent & | obj | ) |
Copy constructor.
|
virtual |
Destructor.
|
inline |
Clone this event object and return pointer to the new instance.
|
inline |
Get a pointer to dropped child shape.
|
inline |
Get a shape object from the event object.
|
inline |
Set a pointer to dropped child shape.
ChildShape | Pointer to dropped child shape |
|
inline |
Insert a shape object to the event object.
shape | Pointer to the shape object |
|
private |
Pointer to dropped child object.
|
private |
Pointer to stored shape object.