X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4dba84be231243149a45a286a651d02be8487423..3454ecd508f3d5a2a31f1c1d9048de80763135d1:/src/motif/dnd.cpp diff --git a/src/motif/dnd.cpp b/src/motif/dnd.cpp index e9e57e42f8..8caa37f18b 100644 --- a/src/motif/dnd.cpp +++ b/src/motif/dnd.cpp @@ -7,10 +7,13 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "dnd.h" #endif +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + #include "wx/setup.h" #if wxUSE_DRAG_AND_DROP @@ -164,7 +167,7 @@ wxDropSource::~wxDropSource(void) // if (m_data) delete m_data; } -wxDragResult wxDropSource::DoDragDrop( bool WXUNUSED(bAllowMove) ) +wxDragResult wxDropSource::DoDragDrop( int WXUNUSED(flags) ) { // wxASSERT_MSG( m_data, "wxDragSource: no data" );