wxShapeFramework  1.13.0 beta
wxSFShapeChildDropEvent Class Reference

Class encapsulates wxEVT_SF_SHAPE_CHILD_DROP event. More...

#include <SFEvents.h>

Collaboration diagram for wxSFShapeChildDropEvent:

List of all members.

Public Member Functions

 wxSFShapeChildDropEvent (wxEventType cmdType=wxEVT_NULL, int id=0)
 Constructor.
 wxSFShapeChildDropEvent (const wxSFShapeChildDropEvent &obj)
 Copy constructor.
virtual ~wxSFShapeChildDropEvent ()
 Destructor.
void SetShape (wxSFShapeBase *shape)
 Insert a shape object to the event object.
wxSFShapeBaseGetShape ()
 Get a shape object from the event object.
void SetChildShape (wxSFShapeBase *ChildShape)
 Set a pointer to dropped child shape.
wxSFShapeBaseGetChildShape ()
 Get a pointer to dropped child shape.
wxEvent * Clone () const
 Clone this event object and return pointer to the new instance.

Private Attributes

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

Detailed Description

Class encapsulates wxEVT_SF_SHAPE_CHILD_DROP event.


Constructor & Destructor Documentation

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

Constructor.

Destructor.


Member Function Documentation

wxEvent* wxSFShapeChildDropEvent::Clone ( ) const [inline]

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

Get a pointer to dropped child shape.

Returns:
Pointer to dropped child shape

Get a shape object from the event object.

Returns:
Pointer to the shape object.
void wxSFShapeChildDropEvent::SetChildShape ( wxSFShapeBase ChildShape) [inline]

Set a pointer to dropped child shape.

Parameters:
ChildShapePointer to dropped child shape

Insert a shape object to the event object.

Parameters:
shapePointer to the shape object

Member Data Documentation

Pointer to dropped child object.

Pointer to stored shape object.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines