]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dir.cpp
don't use deprecated toolbar API
[wxWidgets.git] / src / os2 / dir.cpp
index e0eb0cbb163a7631a5051f31714e9a7e52dd8388..fef52b91b3993047a9d7051f419eb881042cfd69 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
-    #pragma implementation "dir.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -79,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