X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1777b9bbf4573dabecf4a3256d0d3c2c0c2a3fdf..4457f32a774cbe17e9d91175eb8c84e303a60d03:/include/wx/dragimag.h diff --git a/include/wx/dragimag.h b/include/wx/dragimag.h index 02da2e77dd..91fd90c11f 100644 --- a/include/wx/dragimag.h +++ b/include/wx/dragimag.h @@ -1,25 +1,49 @@ #ifndef _WX_DRAGIMAG_H_BASE_ #define _WX_DRAGIMAG_H_BASE_ +#if wxUSE_DRAGIMAGE + +class WXDLLEXPORT wxRect; +class WXDLLEXPORT wxMemoryDC; +class WXDLLEXPORT wxDC; + #if defined(__WXMSW__) -#ifdef __WIN16__ -#include "wx/generic/dragimag.h" +#if defined(__WIN16__) || defined(__WXUNIVERSAL__) +#include "wx/generic/dragimgg.h" +#define wxDragImage wxGenericDragImage +#define sm_classwxDragImage sm_classwxGenericDragImage + #else #include "wx/msw/dragimag.h" #endif #elif defined(__WXMOTIF__) -#include "wx/generic/dragimag.h" +#include "wx/generic/dragimgg.h" +#define wxDragImage wxGenericDragImage +#define sm_classwxDragImage sm_classwxGenericDragImage + #elif defined(__WXGTK__) -#include "wx/generic/dragimag.h" -#elif defined(__WXQT__) -#include "wx/generic/dragimag.h" +#include "wx/generic/dragimgg.h" +#define wxDragImage wxGenericDragImage +#define sm_classwxDragImage sm_classwxGenericDragImage + +#elif defined(__WXX11__) +#include "wx/generic/dragimgg.h" +#define wxDragImage wxGenericDragImage +#define sm_classwxDragImage sm_classwxGenericDragImage + #elif defined(__WXMAC__) -#include "wx/generic/dragimag.h" +#include "wx/generic/dragimgg.h" +#define wxDragImage wxGenericDragImage +#define sm_classwxDragImage sm_classwxGenericDragImage + #elif defined(__WXPM__) -#include "wx/generic/dragimag.h" -#elif defined(__WXSTUBS__) -#include "wx/generic/dragimag.h" +#include "wx/generic/dragimgg.h" +#define wxDragImage wxGenericDragImage +#define sm_classwxDragImage sm_classwxGenericDragImage + #endif +#endif // wxUSE_DRAGIMAGE + #endif // _WX_DRAGIMAG_H_BASE_