X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b5f1895643cf94b38ac19a4c1151e259310852e..13b4df952c77383f50696e51fcbaa2d8bbd3b3b9:/src/motif/dnd.cpp diff --git a/src/motif/dnd.cpp b/src/motif/dnd.cpp index 202c9d2f51..cba4d6c9da 100644 --- a/src/motif/dnd.cpp +++ b/src/motif/dnd.cpp @@ -13,12 +13,15 @@ #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 @@ -126,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 );