X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d8729431c8c202bd57aadccf87e0a4777baa055..5c6bd4a9570c63619275710f0b91a93231532b98:/include/wx/gtk/dataobj.h diff --git a/include/wx/gtk/dataobj.h b/include/wx/gtk/dataobj.h index bd6783c977..52ea20c7bd 100644 --- a/include/wx/gtk/dataobj.h +++ b/include/wx/gtk/dataobj.h @@ -10,7 +10,7 @@ #ifndef _WX_GTK_DATAOBJ_H_ #define _WX_GTK_DATAOBJ_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dataobj.h" #endif @@ -22,10 +22,8 @@ class wxDataObject : public wxDataObjectBase { public: wxDataObject(); -#ifdef __DARWIN__ - virtual ~wxDataObject() { } -#endif - + virtual ~wxDataObject(); + virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const; };