]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dnd.cpp
Don't delete wxTaskBarIcon in wxMSW wxNotificationMessage if we don't own it.
[wxWidgets.git] / src / x11 / dnd.cpp
index ea53b0384cfc40855ae334f4536ea0986c53b409..d555b2ef616c30d1424f592112a6f94af9269336 100644 (file)
     #include "wx/intl.h"
     #include "wx/log.h"
     #include "wx/app.h"
     #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
 
 #endif
 
-#include "wx/window.h"
-#include "wx/gdicmn.h"
-#include "wx/utils.h"
-
 #include <X11/Xlib.h>
 
 // ----------------------------------------------------------------------------
 #include <X11/Xlib.h>
 
 // ----------------------------------------------------------------------------
@@ -134,7 +133,7 @@ wxDropSource::wxDropSource( wxWindow *win )
 {
 #if 0
   m_window = win;
 {
 #if 0
   m_window = win;
-  m_data = (wxDataObject *) NULL;
+  m_data = NULL;
   m_retValue = wxDragCancel;
 
   m_defaultCursor = wxCursor( wxCURSOR_NO_ENTRY );
   m_retValue = wxDragCancel;
 
   m_defaultCursor = wxCursor( wxCURSOR_NO_ENTRY );