]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dnd.cpp
Don't handle WM_PRINTCLIENT anymore, manually draw the static box label background...
[wxWidgets.git] / src / x11 / dnd.cpp
index 0e39009af82de8cb5d8b1ef7bedc2ec186688984..ce9aa24bbf6c19557639a4a0da16d274ddd4f66e 100644 (file)
 #include "wx/wxprec.h"
 
 #if defined(__BORLANDC__)
 #include "wx/wxprec.h"
 
 #if defined(__BORLANDC__)
-#pragma hdrstop
+    #pragma hdrstop
 #endif
 
 #if wxUSE_DRAG_AND_DROP
 
 #include "wx/dnd.h"
 #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>
 
 
 #include <X11/Xlib.h>
 
@@ -180,7 +183,7 @@ wxDragResult wxDropSource::DoDragDrop( int WXUNUSED(flags) )
 
   UnregisterWindow();
 
 
   UnregisterWindow();
 
-  g_blockEventsOnDrag = FALSE;
+  g_blockEventsOnDrag = false;
 
   return m_retValue;
 #endif
 
   return m_retValue;
 #endif