]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dir.cpp
added missing headers (patch 1774617)
[wxWidgets.git] / src / os2 / dir.cpp
index ab35717cbffc416ac5bee054a1a9a9c939a95e7a..fef52b91b3993047a9d7051f419eb881042cfd69 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
-    #pragma implementation "dir.h"
-#endif
-
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
@@ -110,7 +106,7 @@ static const wxChar* GetNameFromFindData(
   FIND_STRUCT*                      pFinddata
 )
 {
   FIND_STRUCT*                      pFinddata
 )
 {
-    return pFinddata->achName;
+    return (wxChar*)pFinddata->achName;
 }
 
 static const FIND_ATTR GetAttrFromFindData(
 }
 
 static const FIND_ATTR GetAttrFromFindData(