]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dnd.cpp
fix bug with adding entries to a root group containing only subgroups (as shown by...
[wxWidgets.git] / src / x11 / dnd.cpp
index 0e39009af82de8cb5d8b1ef7bedc2ec186688984..ce9aa24bbf6c19557639a4a0da16d274ddd4f66e 100644 (file)
 #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