|
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. | |
| wxSFShapePasteEvent (const wxSFShapePasteEvent &obj) | |
| Copy constructor. | |
| virtual | ~wxSFShapePasteEvent () |
| Destructor. | |
| void | SetPastedShapes (const ShapeList &list) |
| Copy given shapes to the internal list of pasted shapes. | |
| void | SetDropTarget (wxSFShapeCanvas *target) |
| Set drop target (shape canvas where shapes have been pasted to). | |
| ShapeList & | GetPastedShapes () |
| Get a shape object from the event object. | |
| wxSFShapeCanvas * | GetDropTarget () |
| Get drop target (shape canvas where shapes have been pasted to). | |
| wxEvent * | Clone () const |
| Clone this event object and return pointer to the new instance. | |
Private Attributes | |
| ShapeList | m_lstPastedShapes |
| List of pasted shapes. | |
| wxSFShapeCanvas * | m_pDropTarget |
| Drop target. | |
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 wxSFShapePasteEvent::~wxSFShapePasteEvent | ( | ) | [virtual] |
Destructor.
| wxEvent* wxSFShapePasteEvent::Clone | ( | ) | const [inline] |
Clone this event object and return pointer to the new instance.
| wxSFShapeCanvas* wxSFShapePasteEvent::GetDropTarget | ( | ) | [inline] |
Get drop target (shape canvas where shapes have been pasted to).
| ShapeList& wxSFShapePasteEvent::GetPastedShapes | ( | ) | [inline] |
Get a shape object from the event object.
| void wxSFShapePasteEvent::SetDropTarget | ( | wxSFShapeCanvas * | target | ) | [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 |
ShapeList wxSFShapePasteEvent::m_lstPastedShapes [private] |
List of pasted shapes.
Drop target.