X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7cf83330863f93c6f9772f50ea974b53ec576e79..bf7d7ee7062f7f6028df40e43745235658e38b4d:/include/wx/dragimag.h?ds=sidebyside diff --git a/include/wx/dragimag.h b/include/wx/dragimag.h index dbbce924d2..8a3ff7c33e 100644 --- a/include/wx/dragimag.h +++ b/include/wx/dragimag.h @@ -1,23 +1,50 @@ #ifndef _WX_DRAGIMAG_H_BASE_ #define _WX_DRAGIMAG_H_BASE_ +#if wxUSE_DRAGIMAGE + #if defined(__WXMSW__) #ifdef __WIN16__ -#include "wx/generic/dragimag.h" +#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" +#include "wx/generic/dragimgg.h" +#define wxDragImage wxGenericDragImage +#define sm_classwxDragImage sm_classwxGenericDragImage + #elif defined(__WXQT__) -#include "wx/generic/dragimag.h" +#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/dragimgg.h" +#define wxDragImage wxGenericDragImage +#define sm_classwxDragImage sm_classwxGenericDragImage + #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_