Creates a copy of this event handler.
| 71 | |
| 72 | // Creates a copy of this event handler. |
| 73 | wxShapeEvtHandler* wxShapeEvtHandler::CreateNewCopy() |
| 74 | { |
| 75 | wxShapeEvtHandler* newObject = (wxShapeEvtHandler*) GetClassInfo()->CreateObject(); |
| 76 | |
| 77 | wxASSERT( (newObject != NULL) ); |
| 78 | wxASSERT( (newObject->IsKindOf(CLASSINFO(wxShapeEvtHandler))) ); |
| 79 | |
| 80 | newObject->m_previousHandler = newObject; |
| 81 | |
| 82 | CopyData(*newObject); |
| 83 | |
| 84 | return newObject; |
| 85 | } |
| 86 | |
| 87 | |
| 88 | void wxShapeEvtHandler::OnDelete() |