MCPcopy Create free account
hub / github.com/GeoDaCenter/geoda / CreateNewCopy

Method CreateNewCopy

ogl/basic.cpp:73–85  ·  view source on GitHub ↗

Creates a copy of this event handler.

Source from the content-addressed store, hash-verified

71
72// Creates a copy of this event handler.
73wxShapeEvtHandler* 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
88void wxShapeEvtHandler::OnDelete()

Callers 1

CopyMethod · 0.80

Calls 5

CopyFunction · 0.85
GetEventHandlerFunction · 0.85
SetShapeMethod · 0.80
RecomputeMethod · 0.80
ClearMethod · 0.45

Tested by

no test coverage detected