X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab7ce33c563651f790f99d64ee56727706047ae3..6ca154fcc14a2532798a23977baee2eed3179d19:/include/wx/gtk1/dataobj.h?ds=sidebyside diff --git a/include/wx/gtk1/dataobj.h b/include/wx/gtk1/dataobj.h index 019d5f657f..fa14819b17 100644 --- a/include/wx/gtk1/dataobj.h +++ b/include/wx/gtk1/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_ -#if defined(__GNUG__) && !defined(__APPLE__) +#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; };