X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..8155488b3143e972da919de992c7bba2e29d63a1:/include/wx/x11/dataobj.h diff --git a/include/wx/x11/dataobj.h b/include/wx/x11/dataobj.h index 77064e648d..885dc31145 100644 --- a/include/wx/x11/dataobj.h +++ b/include/wx/x11/dataobj.h @@ -3,14 +3,14 @@ // Purpose: declaration of the wxDataObject class for Motif // Author: Julian Smart // RCS-ID: $Id$ -// Copyright: (c) 1998 Julian Smart +// Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifndef _WX_MOTIF_DATAOBJ_H_ -#define _WX_MOTIF_DATAOBJ_H_ +#ifndef _WX_X11_DATAOBJ_H_ +#define _WX_X11_DATAOBJ_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "dataobj.h" #endif @@ -21,10 +21,14 @@ class wxDataObject : public wxDataObjectBase { public: + wxDataObject(); + #ifdef __DARWIN__ ~wxDataObject() { } #endif + + virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const; }; -#endif //_WX_MOTIF_DATAOBJ_H_ +#endif //_WX_X11_DATAOBJ_H_