|
wxShapeFramework
1.13.0 beta
|
Class encapsulates wxEVT_SF_ON_PASTE event. More...
#include <SFEvents.h>


Public Member Functions | |
| wxSFShapePasteEvent (wxEventType cmdType=wxEVT_NULL, wxSFShapeCanvas *target=NULL, int id=0) | |
| Constructor. More... | |
| wxSFShapePasteEvent (const wxSFShapePasteEvent &obj) | |
| Copy constructor. More... | |
| virtual | ~wxSFShapePasteEvent () |
| Destructor. More... | |
| void | SetPastedShapes (const ShapeList &list) |
| Copy given shapes to the internal list of pasted shapes. More... | |
| void | SetDropTarget (wxSFShapeCanvas *target) |
| Set drop target (shape canvas where shapes have been pasted to). More... | |
| ShapeList & | GetPastedShapes () |
| Get a shape object from the event object. More... | |
| wxSFShapeCanvas * | GetDropTarget () |
| Get drop target (shape canvas where shapes have been pasted to). More... | |
| wxEvent * | Clone () const |
| Clone this event object and return pointer to the new instance. More... | |
Private Attributes | |
| ShapeList | m_lstPastedShapes |
| List of pasted shapes. More... | |
| wxSFShapeCanvas * | m_pDropTarget |
| Drop target. More... | |
Class encapsulates wxEVT_SF_ON_PASTE event.
| wxSFShapePasteEvent::wxSFShapePasteEvent | ( | wxEventType | cmdType = wxEVT_NULL, |
| wxSFShapeCanvas * | target = NULL, |
||
| int | id = 0 |
||
| ) |
Constructor.
| wxSFShapePasteEvent::wxSFShapePasteEvent | ( | const wxSFShapePasteEvent & | obj | ) |
Copy constructor.
|
virtual |
Destructor.
|
inline |
Clone this event object and return pointer to the new instance.
|
inline |
Get drop target (shape canvas where shapes have been pasted to).
|
inline |
Get a shape object from the event object.
|
inline |
Set drop target (shape canvas where shapes have been pasted to).
| target | Pointer to drop target (shape canvas) |
| void wxSFShapePasteEvent::SetPastedShapes | ( | const ShapeList & | list | ) |
Copy given shapes to the internal list of pasted shapes.
| list | Reference to a list of copied shapes |
|
private |
List of pasted shapes.
|
private |
Drop target.