]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dragimag.h
fixed the last of the off-by-one errors (some are refixed, again...)
[wxWidgets.git] / include / wx / dragimag.h
index d137c02f21bf209f9fcf102897a27e68790dd7cf..8a3ff7c33ef0f9859c97a3a76d299ffd78a086db 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"
@@ -42,5 +44,7 @@
 
 #endif
 
+#endif // wxUSE_DRAGIMAGE
+
 #endif
     // _WX_DRAGIMAG_H_BASE_