wxShapeFramework  1.13.0 beta
wxSFShapeChildDropEvent Class Reference

Class encapsulates wxEVT_SF_SHAPE_CHILD_DROP event. More...

#include <SFEvents.h>

Inheritance diagram for wxSFShapeChildDropEvent:
Collaboration diagram for wxSFShapeChildDropEvent:

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...
 
wxSFShapeBaseGetShape ()
 Get a shape object from the event object. More...
 
void SetChildShape (wxSFShapeBase *ChildShape)
 Set a pointer to dropped child shape. More...
 
wxSFShapeBaseGetChildShape ()
 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

wxSFShapeBasem_Shape
 Pointer to stored shape object. More...
 
wxSFShapeBasem_ChildShape
 Pointer to dropped child object. More...
 

Detailed Description

Class encapsulates wxEVT_SF_SHAPE_CHILD_DROP event.

Constructor & Destructor Documentation

◆ wxSFShapeChildDropEvent() [1/2]

wxSFShapeChildDropEvent::wxSFShapeChildDropEvent ( wxEventType  cmdType = wxEVT_NULL,
int  id = 0 
)

Constructor.

◆ wxSFShapeChildDropEvent() [2/2]

wxSFShapeChildDropEvent::wxSFShapeChildDropEvent ( const wxSFShapeChildDropEvent obj)

Copy constructor.

◆ ~wxSFShapeChildDropEvent()

virtual wxSFShapeChildDropEvent::~wxSFShapeChildDropEvent ( )
virtual

Destructor.

Member Function Documentation

◆ Clone()

wxEvent* wxSFShapeChildDropEvent::Clone ( ) const
inline

Clone this event object and return pointer to the new instance.

◆ GetChildShape()

wxSFShapeBase* wxSFShapeChildDropEvent::GetChildShape ( )
inline

Get a pointer to dropped child shape.

Returns
Pointer to dropped child shape

◆ GetShape()

wxSFShapeBase* wxSFShapeChildDropEvent::GetShape ( )
inline

Get a shape object from the event object.

Returns
Pointer to the shape object.

◆ SetChildShape()

void wxSFShapeChildDropEvent::SetChildShape ( wxSFShapeBase ChildShape)
inline

Set a pointer to dropped child shape.

Parameters
ChildShapePointer to dropped child shape

◆ SetShape()

void wxSFShapeChildDropEvent::SetShape ( wxSFShapeBase shape)
inline

Insert a shape object to the event object.

Parameters
shapePointer to the shape object

Member Data Documentation

◆ m_ChildShape

wxSFShapeBase* wxSFShapeChildDropEvent::m_ChildShape
private

Pointer to dropped child object.

◆ m_Shape

wxSFShapeBase* wxSFShapeChildDropEvent::m_Shape
private

Pointer to stored shape object.


The documentation for this class was generated from the following file: