]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dnd.cpp
don't pass negative height to wxWindow::SetSize(), this results in GTK+ warnings
[wxWidgets.git] / src / os2 / dnd.cpp
index e612b2ee65c5b725fa4df26f2dff184e5d2b4f86..3a968d35869f5b04dc663798a73cc2f622b57f12 100644 (file)
@@ -387,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;