]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dragimag.h
Fix for missing -g from wx-config
[wxWidgets.git] / include / wx / dragimag.h
index d137c02f21bf209f9fcf102897a27e68790dd7cf..63ab20c64d32b8f4a859f7acc5d61ae840af0932 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _WX_DRAGIMAG_H_BASE_
 #define _WX_DRAGIMAG_H_BASE_
 
+#if wxUSE_DRAGIMAGE
+
 #if defined(__WXMSW__)
 #ifdef __WIN16__
 #include "wx/generic/dragimgg.h"
 #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
@@ -42,5 +39,7 @@
 
 #endif
 
+#endif // wxUSE_DRAGIMAGE
+
 #endif
     // _WX_DRAGIMAG_H_BASE_