X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83df96d63a52ebb08b9e32549dc255354b4a18d0..9d9ad67384e5dc658c4de46e49113c321489bf81:/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_