]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dragimag.cpp
More small fixes
[wxWidgets.git] / src / msw / dragimag.cpp
index 6898665ca214ea0228c003c5d0b38de8600fe7f1..5a9c132e617b4036ab047bc0291e88a5df015cb1 100644 (file)
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
-#include "wx/msw/private.h"
 
 #ifdef __BORLANDC__
 #pragma hdrstop
 #endif
 
 
 #ifdef __BORLANDC__
 #pragma hdrstop
 #endif
 
+#if wxUSE_DRAGIMAG
+
 #if defined(__WIN95__)
 
 #ifndef WX_PRECOMP
 #if defined(__WIN95__)
 
 #ifndef WX_PRECOMP
@@ -41,6 +42,7 @@
 #include "wx/settings.h"
 #endif
 
 #include "wx/settings.h"
 #endif
 
+#include "wx/msw/private.h"
 #include "wx/log.h"
 #include "wx/intl.h"
 #include "wx/frame.h"
 #include "wx/log.h"
 #include "wx/intl.h"
 #include "wx/frame.h"
@@ -433,3 +435,4 @@ bool wxDragImage::Hide()
 #endif
     // __WIN95__
 
 #endif
     // __WIN95__
 
+#endif // wxUSE_DRAGIMAG