wxShapeFramework
1.13.0 beta
|
Class encapsulates wxEVT_SF_TEXT_CHANGE event. More...
#include <SFEvents.h>
Public Member Functions | |
wxSFShapeTextEvent (wxEventType cmdType=wxEVT_NULL, int id=0) | |
Constructor. More... | |
wxSFShapeTextEvent (const wxSFShapeTextEvent &obj) | |
Copy constructor. More... | |
virtual | ~wxSFShapeTextEvent () |
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 | SetText (const wxString &txt) |
Set new text shape. More... | |
wxString | GetText () |
Get a shape text. 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... | |
wxString | m_Text |
New shape text. More... | |
Class encapsulates wxEVT_SF_TEXT_CHANGE event.
wxSFShapeTextEvent::wxSFShapeTextEvent | ( | wxEventType | cmdType = wxEVT_NULL , |
int | id = 0 |
||
) |
Constructor.
wxSFShapeTextEvent::wxSFShapeTextEvent | ( | const wxSFShapeTextEvent & | obj | ) |
Copy constructor.
|
virtual |
Destructor.
|
inline |
Clone this event object and return pointer to the new instance.
|
inline |
Get a shape object from the event object.
|
inline |
Get a shape text.
|
inline |
Insert a shape object to the event object.
shape | Pointer to the shape object |
|
inline |
Set new text shape.
txt | New text content. |
|
private |
Pointer to stored shape object.
|
private |
New shape text.