X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..174b10af3488cc926c5f0336db457f125a506f51:/include/wx/dragimag.h?ds=inline diff --git a/include/wx/dragimag.h b/include/wx/dragimag.h index f467fc1d19..2563a895fd 100644 --- a/include/wx/dragimag.h +++ b/include/wx/dragimag.h @@ -1,50 +1,43 @@ #ifndef _WX_DRAGIMAG_H_BASE_ #define _WX_DRAGIMAG_H_BASE_ -#if wxUSE_DRAGIMAG +#if wxUSE_DRAGIMAGE + +class WXDLLEXPORT wxRect; +class WXDLLEXPORT wxMemoryDC; +class WXDLLEXPORT wxDC; #if defined(__WXMSW__) -#ifdef __WIN16__ -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +# if defined(__WXUNIVERSAL__) +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage +# else +# include "wx/msw/dragimag.h" +# endif -#else -#include "wx/msw/dragimag.h" -#endif #elif defined(__WXMOTIF__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #elif defined(__WXGTK__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage -#elif defined(__WXQT__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +#elif defined(__WXX11__) +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #elif defined(__WXMAC__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #elif defined(__WXPM__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage - -#elif defined(__WXSTUBS__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #endif -#endif // wxUSE_DRAGIMAG +#endif // wxUSE_DRAGIMAGE #endif // _WX_DRAGIMAG_H_BASE_