]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/dobjcmn.cpp
added wxUSE_IMAGE; added write-only wxXPMHandler
[wxWidgets.git] / src / common / dobjcmn.cpp
index aadd3914f34a8593225923427e20c02e703a5aa6..820989a6f48fe5fcd9b7467291c407a67b2cab69 100644 (file)
@@ -282,7 +282,7 @@ void *wxCustomDataObject::Alloc(size_t size)
 
 void wxCustomDataObject::Free()
 {
-    delete [] m_data;
+    delete [] (char *)m_data;
     m_size = 0;
     m_data = (void *)NULL;
 }