]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/dataobj.h
fixed visibility warning on Fedora
[wxWidgets.git] / include / wx / x11 / dataobj.h
index 97b7df7eb4b7b665df992d85778eeb7f055ef423..6ec1bcad39453c669972d702dee06e77b45853b4 100644 (file)
 #ifndef _WX_X11_DATAOBJ_H_
 #define _WX_X11_DATAOBJ_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "dataobj.h"
-#endif
-
 // ----------------------------------------------------------------------------
 // wxDataObject is the same as wxDataObjectBase under wxMotif
 // ----------------------------------------------------------------------------
@@ -24,7 +20,7 @@ public:
     wxDataObject();
     
 #ifdef __DARWIN__
-    ~wxDataObject() { }
+    virtual ~wxDataObject() { }
 #endif
 
     virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;