X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/521bf4ff3ef47059265beff5d53c9e1162beb122..a766986f6d443ba1d50e3af25f3306fa56e4518e:/src/x11/dnd.cpp diff --git a/src/x11/dnd.cpp b/src/x11/dnd.cpp index 0e39009af8..ce9aa24bbf 100644 --- a/src/x11/dnd.cpp +++ b/src/x11/dnd.cpp @@ -11,18 +11,21 @@ #include "wx/wxprec.h" #if defined(__BORLANDC__) -#pragma hdrstop + #pragma hdrstop #endif #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 @@ -180,7 +183,7 @@ wxDragResult wxDropSource::DoDragDrop( int WXUNUSED(flags) ) UnregisterWindow(); - g_blockEventsOnDrag = FALSE; + g_blockEventsOnDrag = false; return m_retValue; #endif