]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dnd.cpp
Select the entire spin control contents when changing its value.
[wxWidgets.git] / src / motif / dnd.cpp
index 20b664b8df6b5d2ecbff26fb2c821d840c5fc1d8..cba4d6c9da83df1c0200dffd58367d5fcdaedb02 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 "wx/log.h"
-
 #include <X11/Xlib.h>
 
 // ----------------------------------------------------------------------------
@@ -130,7 +129,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 );