wxShapeFramework
1.13.0 beta
|
Class encapsulates generic wxSF shape's event. More...
#include <SFEvents.h>
Public Member Functions | |
wxSFShapeEvent (wxEventType cmdType=wxEVT_NULL, int id=0) | |
Constructor. | |
wxSFShapeEvent (const wxSFShapeEvent &obj) | |
Copy constructor. | |
virtual | ~wxSFShapeEvent () |
Destructor. | |
void | SetShape (wxSFShapeBase *shape) |
Insert a shape object to the event object. | |
wxSFShapeBase * | GetShape () |
Get a shape object from the event object. | |
wxEvent * | Clone () const |
Clone this event object and return pointer to the new instance. | |
bool | IsVetoed () |
Check if the event has been vetoed or not. | |
void | Veto () |
Set the veto flag to true. | |
Private Attributes | |
wxSFShapeBase * | m_Shape |
Pointer to stored shape object. | |
bool | m_Vetoed |
Class encapsulates generic wxSF shape's event.
wxSFShapeEvent::wxSFShapeEvent | ( | wxEventType | cmdType = wxEVT_NULL , |
int | id = 0 |
||
) |
Constructor.
wxSFShapeEvent::wxSFShapeEvent | ( | const wxSFShapeEvent & | obj | ) |
Copy constructor.
virtual wxSFShapeEvent::~wxSFShapeEvent | ( | ) | [virtual] |
Destructor.
wxEvent* wxSFShapeEvent::Clone | ( | ) | const [inline] |
Clone this event object and return pointer to the new instance.
wxSFShapeBase* wxSFShapeEvent::GetShape | ( | ) | [inline] |
Get a shape object from the event object.
bool wxSFShapeEvent::IsVetoed | ( | ) | [inline] |
Check if the event has been vetoed or not.
void wxSFShapeEvent::SetShape | ( | wxSFShapeBase * | shape | ) | [inline] |
Insert a shape object to the event object.
shape | Pointer to the shape object |
void wxSFShapeEvent::Veto | ( | ) | [inline] |
Set the veto flag to true.
wxSFShapeBase* wxSFShapeEvent::m_Shape [private] |
Pointer to stored shape object.
bool wxSFShapeEvent::m_Vetoed [private] |