]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dragimag.h
Fixed preview navigation as per ancient bug report
[wxWidgets.git] / include / wx / dragimag.h
index 8a3ff7c33ef0f9859c97a3a76d299ffd78a086db..91fd90c11ffc69db765452857997d11561effd38 100644 (file)
@@ -3,8 +3,12 @@
 
 #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
 #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_DRAGIMAGE