]> git.saurik.com Git - wxWidgets.git/blob - include/wx/x11/dataobj.h
avoid GCC warning about type-punned pointer breaking strict aliasing rules
[wxWidgets.git] / include / wx / x11 / dataobj.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/motif/dataobj.h
3 // Purpose: declaration of the wxDataObject class for Motif
4 // Author: Julian Smart
5 // RCS-ID: $Id$
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_X11_DATAOBJ_H_
11 #define _WX_X11_DATAOBJ_H_
12
13 // ----------------------------------------------------------------------------
14 // wxDataObject is the same as wxDataObjectBase under wxMotif
15 // ----------------------------------------------------------------------------
16
17 class WXDLLIMPEXP_CORE wxDataObject : public wxDataObjectBase
18 {
19 public:
20 wxDataObject();
21
22 #ifdef __DARWIN__
23 virtual ~wxDataObject() { }
24 #endif
25
26 virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
27 };
28
29 #endif //_WX_X11_DATAOBJ_H_
30