]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dir.cpp
don't use deprecated toolbar API
[wxWidgets.git] / src / os2 / dir.cpp
index e3e7188afd183514b6f96cf75ba2948b7b229d4d..fef52b91b3993047a9d7051f419eb881042cfd69 100644 (file)
@@ -75,7 +75,7 @@ static inline FIND_DATA FindFirst(
     FIND_DATA                   hDir = HDIR_CREATE;
     FIND_ATTR                   rc;
 
-    rc = ::DosFindFirst( (PSZ)rsSpec.c_str()
+    rc = ::DosFindFirst( rsSpec.c_str()
                         ,&hDir
                         ,0x37 // was: FILE_NORMAL
                         ,pFinddata