X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b5f1895643cf94b38ac19a4c1151e259310852e..76b0f8384ed211c5f6b48597a62da743b604e666:/src/motif/dnd.cpp diff --git a/src/motif/dnd.cpp b/src/motif/dnd.cpp index 202c9d2f51..ae99ccc1a6 100644 --- a/src/motif/dnd.cpp +++ b/src/motif/dnd.cpp @@ -2,7 +2,6 @@ // Name: src/motif/dnd.cpp // Purpose: wxDropTarget, wxDropSource classes // Author: Julian Smart -// Id: $Id$ // Copyright: (c) 1998 Julian Smart // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -13,12 +12,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 +128,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 );