]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dragimag.h
added wx/defs.h include to correct compilation issues under Mac OS X
[wxWidgets.git] / include / wx / dragimag.h
index f467fc1d199b87f18bfa2e895c94f2944290a526..63ab20c64d32b8f4a859f7acc5d61ae840af0932 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef _WX_DRAGIMAG_H_BASE_
 #define _WX_DRAGIMAG_H_BASE_
 
 #ifndef _WX_DRAGIMAG_H_BASE_
 #define _WX_DRAGIMAG_H_BASE_
 
-#if wxUSE_DRAGIMAG
+#if wxUSE_DRAGIMAGE
 
 #if defined(__WXMSW__)
 #ifdef __WIN16__
 
 #if defined(__WXMSW__)
 #ifdef __WIN16__
 #define wxDragImage wxGenericDragImage
 #define sm_classwxDragImage sm_classwxGenericDragImage
 
 #define wxDragImage wxGenericDragImage
 #define sm_classwxDragImage sm_classwxGenericDragImage
 
-#elif defined(__WXQT__)
-#include "wx/generic/dragimgg.h"
-#define wxDragImage wxGenericDragImage
-#define sm_classwxDragImage sm_classwxGenericDragImage
-
 #elif defined(__WXMAC__)
 #include "wx/generic/dragimgg.h"
 #define wxDragImage wxGenericDragImage
 #elif defined(__WXMAC__)
 #include "wx/generic/dragimgg.h"
 #define wxDragImage wxGenericDragImage
@@ -44,7 +39,7 @@
 
 #endif
 
 
 #endif
 
-#endif // wxUSE_DRAGIMAG
+#endif // wxUSE_DRAGIMAGE
 
 #endif
     // _WX_DRAGIMAG_H_BASE_
 
 #endif
     // _WX_DRAGIMAG_H_BASE_