X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9cacf3e495f3aacb919ee1046338a25982db86c..7a5e53abb3f9ea13eba2880972306446e4e21e83:/include/wx/dragimag.h diff --git a/include/wx/dragimag.h b/include/wx/dragimag.h index 6cea95e034..2563a895fd 100644 --- a/include/wx/dragimag.h +++ b/include/wx/dragimag.h @@ -8,32 +8,32 @@ class WXDLLEXPORT wxMemoryDC; class WXDLLEXPORT wxDC; #if defined(__WXMSW__) -#if defined(__WIN16__) || defined(__WXUNIVERSAL__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage +# 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 +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #elif defined(__WXGTK__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #elif defined(__WXX11__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #elif defined(__WXMAC__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #elif defined(__WXPM__) -#include "wx/generic/dragimgg.h" -#define wxDragImage wxGenericDragImage +# include "wx/generic/dragimgg.h" +# define wxDragImage wxGenericDragImage #endif