]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/object.cpp
Symantec makefile fixes (for OLE files)
[wxWidgets.git] / src / common / object.cpp
index 972f6c0bc4ce28b5cf16725b9b776ba48a22ec49..0672600cf98e741c88fbafce2b1c3db102d43222 100644 (file)
@@ -94,7 +94,11 @@ wxObject *wxObject::Clone() const
     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()));
 }