X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..f194560ed883138350643eb556f766814c409afc:/include/wx/dragimag.h diff --git a/include/wx/dragimag.h b/include/wx/dragimag.h index f467fc1d19..6cea95e034 100644 --- a/include/wx/dragimag.h +++ b/include/wx/dragimag.h @@ -1,13 +1,16 @@ #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__ +#if defined(__WIN16__) || defined(__WXUNIVERSAL__) #include "wx/generic/dragimgg.h" #define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage #else #include "wx/msw/dragimag.h" @@ -15,36 +18,26 @@ #elif defined(__WXMOTIF__) #include "wx/generic/dragimgg.h" #define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage #elif defined(__WXGTK__) #include "wx/generic/dragimgg.h" #define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage -#elif defined(__WXQT__) +#elif defined(__WXX11__) #include "wx/generic/dragimgg.h" #define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage #elif defined(__WXMAC__) #include "wx/generic/dragimgg.h" #define wxDragImage wxGenericDragImage -#define sm_classwxDragImage sm_classwxGenericDragImage #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 #endif -#endif // wxUSE_DRAGIMAG +#endif // wxUSE_DRAGIMAGE #endif // _WX_DRAGIMAG_H_BASE_