]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/object.cpp
combobox buglet when inserting item
[wxWidgets.git] / src / common / object.cpp
index c5b9737d3d4974221d2215e61ec5a08b47e7c7e7..5b6593668930e0f7dbce8a482c3407591f5421d7 100644 (file)
@@ -87,6 +87,11 @@ bool wxObject::IsKindOf(wxClassInfo *info) const
         return FALSE;
 }
 
+wxObject *wxObject::Clone() const
+{
+    return GetClassInfo()->CreateObject();
+}
+
 #if defined(__WXDEBUG__) || wxUSE_DEBUG_CONTEXT
 void wxObject::Dump(ostream& str)
 {