]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dataobj.h
Moved the cleanup code to an EVT_WINDOW_DESTROY handler.
[wxWidgets.git] / include / wx / motif / dataobj.h
index ace6342cacb53a3147ef6f71b2745fc8fc584581..77064e648d30d50e79b41d01de441b0df48fb28d 100644 (file)
@@ -11,7 +11,7 @@
 #define _WX_MOTIF_DATAOBJ_H_
 
 #ifdef __GNUG__
 #define _WX_MOTIF_DATAOBJ_H_
 
 #ifdef __GNUG__
-    #pragma interface "dataobj.h"
+#pragma interface "dataobj.h"
 #endif
 
 // ----------------------------------------------------------------------------
 #endif
 
 // ----------------------------------------------------------------------------
 
 class wxDataObject : public wxDataObjectBase
 {
 
 class wxDataObject : public wxDataObjectBase
 {
+public:
+#ifdef __DARWIN__
+    ~wxDataObject() { }
+#endif
 };
 
 #endif //_WX_MOTIF_DATAOBJ_H_
 };
 
 #endif //_WX_MOTIF_DATAOBJ_H_