]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/ole/dropsrc.cpp
Better fix
[wxWidgets.git] / src / msw / ole / dropsrc.cpp
index 91dcb37866410ab69600269d1b52547a3c5581d1..90f89d419e0412b09bf9659b2f3761c8fcf6f98e 100644 (file)
   #pragma hdrstop
 #endif
 
+#if wxUSE_OLE && wxUSE_DRAG_AND_DROP
+
 #ifndef WX_PRECOMP
     #include "wx/window.h"
+    #include "wx/log.h"
 #endif
 
-#if wxUSE_OLE && wxUSE_DRAG_AND_DROP
-
-#include "wx/log.h"
 #include "wx/dnd.h"
 
 #include "wx/msw/private.h"
@@ -245,4 +245,4 @@ bool wxDropSource::GiveFeedback(wxDragResult effect)
     }
 }
 
-#endif  //USE_DRAG_AND_DROP
+#endif  // wxUSE_OLE && wxUSE_DRAG_AND_DROP