]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/dataobj.h
added and implemented for MSW wxDP_SHOWCENTURY flag
[wxWidgets.git] / include / wx / motif / dataobj.h
index ace6342cacb53a3147ef6f71b2745fc8fc584581..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
 
 // ----------------------------------------------------------------------------
@@ -20,6 +20,8 @@
 
 class wxDataObject : public wxDataObjectBase
 {
+public:
+    virtual ~wxDataObject();
 };
 
 #endif //_WX_MOTIF_DATAOBJ_H_