]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dnd.cpp
in addition to key events, also prevent unhandled mouse events from propagating up...
[wxWidgets.git] / src / x11 / dnd.cpp
index b49f27f66fbef5f5e62b81738faf0b2abc60b697..d555b2ef616c30d1424f592112a6f94af9269336 100644 (file)
 #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 "wx/window.h"
-#include "wx/app.h"
-#include "wx/gdicmn.h"
-#include "wx/utils.h"
-
 #include <X11/Xlib.h>
 
 // ----------------------------------------------------------------------------
@@ -134,7 +133,7 @@ wxDropSource::wxDropSource( wxWindow *win )
 {
 #if 0
   m_window = win;
-  m_data = (wxDataObject *) NULL;
+  m_data = NULL;
   m_retValue = wxDragCancel;
 
   m_defaultCursor = wxCursor( wxCURSOR_NO_ENTRY );
@@ -184,7 +183,7 @@ wxDragResult wxDropSource::DoDragDrop( int WXUNUSED(flags) )
 
   UnregisterWindow();
 
-  g_blockEventsOnDrag = FALSE;
+  g_blockEventsOnDrag = false;
 
   return m_retValue;
 #endif