]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dragimag.h
fix for wxBitmapType definition problem
[wxWidgets.git] / include / wx / dragimag.h
index d137c02f21bf209f9fcf102897a27e68790dd7cf..f467fc1d199b87f18bfa2e895c94f2944290a526 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _WX_DRAGIMAG_H_BASE_
 #define _WX_DRAGIMAG_H_BASE_
 
 #ifndef _WX_DRAGIMAG_H_BASE_
 #define _WX_DRAGIMAG_H_BASE_
 
+#if wxUSE_DRAGIMAG
+
 #if defined(__WXMSW__)
 #ifdef __WIN16__
 #include "wx/generic/dragimgg.h"
 #if defined(__WXMSW__)
 #ifdef __WIN16__
 #include "wx/generic/dragimgg.h"
@@ -42,5 +44,7 @@
 
 #endif
 
 
 #endif
 
+#endif // wxUSE_DRAGIMAG
+
 #endif
     // _WX_DRAGIMAG_H_BASE_
 #endif
     // _WX_DRAGIMAG_H_BASE_