]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dataobj.h
wxEncodingConverter should and can be compiled
[wxWidgets.git] / include / wx / motif / dataobj.h
index 878d9b0c390167951aebead6a898ff9e7c261143..6a59078483aa8c69dc0bdc377a7c4f76a38d9e16 100644 (file)
@@ -10,8 +10,8 @@
 #ifndef _WX_MOTIF_DATAOBJ_H_
 #define _WX_MOTIF_DATAOBJ_H_
 
-#ifdef __GNUG__
-    #pragma interface "dataobj.h"
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
+#pragma interface "dataobj.h"
 #endif
 
 // ----------------------------------------------------------------------------
 
 class wxDataObject : public wxDataObjectBase
 {
- public:
-#ifdef __DARWIN__
-    ~wxDataObject() { }
-#endif
+public:
+    virtual ~wxDataObject();
 };
 
 #endif //_WX_MOTIF_DATAOBJ_H_