// 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_
-
-#ifdef __GNUG__
-#pragma interface "dataobj.h"
-#endif
+#ifndef _WX_X11_DATAOBJ_H_
+#define _WX_X11_DATAOBJ_H_
// ----------------------------------------------------------------------------
// wxDataObject is the same as wxDataObjectBase under wxMotif
// ----------------------------------------------------------------------------
-class wxDataObject : public wxDataObjectBase
+class WXDLLIMPEXP_CORE wxDataObject : public wxDataObjectBase
{
public:
+ wxDataObject();
+
#ifdef __DARWIN__
- ~wxDataObject() { }
+ virtual ~wxDataObject() { }
#endif
+
+ virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
};
-#endif //_WX_MOTIF_DATAOBJ_H_
+#endif //_WX_X11_DATAOBJ_H_