X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..034957673ccd2006aee3937c5b86245e51d4bf62:/include/wx/dragimag.h diff --git a/include/wx/dragimag.h b/include/wx/dragimag.h index f467fc1d19..91fd90c11f 100644 --- a/include/wx/dragimag.h +++ b/include/wx/dragimag.h @@ -1,10 +1,14 @@ #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 @@ -22,7 +26,7 @@ #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 @@ -37,14 +41,9 @@ #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_