X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1d8729431c8c202bd57aadccf87e0a4777baa055..f5a1953b341d16396763bee067ccdd96108f3aad:/include/wx/gtk/dataobj.h?ds=sidebyside diff --git a/include/wx/gtk/dataobj.h b/include/wx/gtk/dataobj.h index bd6783c977..fa14819b17 100644 --- a/include/wx/gtk/dataobj.h +++ b/include/wx/gtk/dataobj.h @@ -4,13 +4,13 @@ // Author: Robert Roebling // RCS-ID: $Id$ // Copyright: (c) 1998, 1999 Vadim Zeitlin, Robert Roebling -// Licence: wxWindows license +// Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// #ifndef _WX_GTK_DATAOBJ_H_ #define _WX_GTK_DATAOBJ_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #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; };