]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dnd.cpp
fix row/column deselection in row-or-column selection mode (it wasn't doing anything)
[wxWidgets.git] / src / os2 / dnd.cpp
index 9d277bfadea7fbd79c628cce769be93c898faa9c..3a968d35869f5b04dc663798a73cc2f622b57f12 100644 (file)
 
 #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 <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;