X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4fd899b671b25d3671e3fceb1b59f8edd9113af9..5c2ddebecd17d3b10957178ba30f2873c0ec4611:/src/os2/dnd.cpp diff --git a/src/os2/dnd.cpp b/src/os2/dnd.cpp index 6a645291fc..a8dc2ed315 100644 --- a/src/os2/dnd.cpp +++ b/src/os2/dnd.cpp @@ -13,14 +13,15 @@ #pragma implementation "dnd.h" #endif -#define INCL_PM -#define INCL_DOS -#include #include "wx/window.h" #include "wx/app.h" #include "wx/gdicmn.h" #include "wx/dnd.h" +#define INCL_PM +#define INCL_DOS +#include + #if wxUSE_DRAG_AND_DROP // ---------------------------------------------------------------------------- @@ -562,7 +563,7 @@ void wxDropSource::Init () hStrContainer = ::DrgAddStrHandle(zContainer); m_pDragItem = new DRAGITEM[m_ulItems]; - for (ULONG i = 0; i < m_ulItems; i++); + for (ULONG i = 0; i < m_ulItems; i++) { m_pDragItem[i].hwndItem = m_pWindow->GetHWND(); m_pDragItem[i].hstrType = hStrType;