X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de6185e212ebc37ff11ff70278e3c4f68419b097..ae901b234c4a0aa7c1777b3bd181dd7f8517ad21:/src/x11/dnd.cpp

diff --git a/src/x11/dnd.cpp b/src/x11/dnd.cpp
index 1697027afd..d555b2ef61 100644
--- a/src/x11/dnd.cpp
+++ b/src/x11/dnd.cpp
@@ -23,11 +23,10 @@
     #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/gdicmn.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 );