]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dragimag.h
attempt to fix first click problem
[wxWidgets.git] / include / wx / dragimag.h
index 097edaacd30d0b29fe0dcd29ad0cb867ed63d884..91fd90c11ffc69db765452857997d11561effd38 100644 (file)
@@ -8,7 +8,7 @@ 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
@@ -41,11 +41,6 @@ class WXDLLEXPORT wxDC;
 #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