X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdccdfabb29bd51aded9aac141e1f7bbd6c85443..05e0b047d879cdbfade7f2ab346c0acdf3e29f96:/src/os2/dnd.cpp diff --git a/src/os2/dnd.cpp b/src/os2/dnd.cpp index 0f61318b77..3a968d3586 100644 --- a/src/os2/dnd.cpp +++ b/src/os2/dnd.cpp @@ -19,10 +19,9 @@ #ifndef WX_PRECOMP #include "wx/app.h" #include "wx/window.h" + #include "wx/gdicmn.h" #endif -#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;