]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dnd.cpp
set icons bundle, not single icon, for frames loaded from XRC
[wxWidgets.git] / src / os2 / dnd.cpp
index 0f61318b7756f2cf992054dcb396967f5c7e4b27..3a968d35869f5b04dc663798a73cc2f622b57f12 100644 (file)
 #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 <os2.h>
@@ -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;