X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/521bf4ff3ef47059265beff5d53c9e1162beb122..94929e7b60de96bd3b064984ae8995d665329411:/src/x11/dnd.cpp?ds=sidebyside

diff --git a/src/x11/dnd.cpp b/src/x11/dnd.cpp
index 0e39009af8..ce9aa24bbf 100644
--- a/src/x11/dnd.cpp
+++ b/src/x11/dnd.cpp
@@ -11,18 +11,21 @@
 #include "wx/wxprec.h"
 
 #if defined(__BORLANDC__)
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #if wxUSE_DRAG_AND_DROP
 
 #include "wx/dnd.h"
-#include "wx/window.h"
-#include "wx/app.h"
-#include "wx/gdicmn.h"
-#include "wx/intl.h"
-#include "wx/utils.h"
-#include "wx/log.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/intl.h"
+    #include "wx/log.h"
+    #include "wx/app.h"
+    #include "wx/utils.h"
+    #include "wx/window.h"
+    #include "wx/gdicmn.h"
+#endif
 
 #include <X11/Xlib.h>
 
@@ -180,7 +183,7 @@ wxDragResult wxDropSource::DoDragDrop( int WXUNUSED(flags) )
 
   UnregisterWindow();
 
-  g_blockEventsOnDrag = FALSE;
+  g_blockEventsOnDrag = false;
 
   return m_retValue;
 #endif