X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dd107c50be43e8d4dbdba20df162faf119a3781c..5fa4613c81c918b98da6cecfe332d0fbcee56319:/src/common/object.cpp diff --git a/src/common/object.cpp b/src/common/object.cpp index 83a8fec5ad..a444c031ee 100644 --- a/src/common/object.cpp +++ b/src/common/object.cpp @@ -99,22 +99,6 @@ bool wxObject::IsKindOf(wxClassInfo *info) const return FALSE; } -wxObject *wxObject::Clone() const -{ - wxObject *object = GetClassInfo()->CreateObject(); - CopyObject(*object); - return object; -} - -#ifdef __WXDEBUG__ -void wxObject::CopyObject(wxObject& object_dest) const -#else // !Debug -void wxObject::CopyObject(wxObject& WXUNUSED(object_dest)) const -#endif // Debug/!Debug -{ - wxASSERT(object_dest.GetClassInfo()->IsKindOf(GetClassInfo())); -} - #if wxUSE_STD_IOSTREAM && (defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT) void wxObject::Dump(wxSTD ostream& str) {