X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/670f9935630beb2123a5ca62894ae92a3f0efa4f..89352653828ae50feab93f5e0fce628ea840927e:/src/os2/dnd.cpp diff --git a/src/os2/dnd.cpp b/src/os2/dnd.cpp index 9d277bfade..3a968d3586 100644 --- a/src/os2/dnd.cpp +++ b/src/os2/dnd.cpp @@ -18,11 +18,10 @@ #ifndef WX_PRECOMP #include "wx/app.h" + #include "wx/window.h" + #include "wx/gdicmn.h" #endif -#include "wx/window.h" -#include "wx/gdicmn.h" - #define INCL_PM #define INCL_DOS #include @@ -388,7 +387,7 @@ wxDataFormat wxDropTarget::GetSupportedFormat ( for (i = 0; i < ulItems; i++) { pDragItem = ::DrgQueryDragitemPtr(pDataSource, i); - if (::DrgVerifyRMF(pDragItem, (PSZ)sMechanism.c_str(), (PSZ)sFormat.c_str())) + if (::DrgVerifyRMF(pDragItem, sMechanism.c_str(), sFormat.c_str())) { bValid = true; break;