// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "dir.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
FIND_DATA hDir = HDIR_CREATE;
FIND_ATTR rc;
- rc = ::DosFindFirst( rsSpec.c_str()
+ rc = ::DosFindFirst( (PSZ)rsSpec.c_str()
,&hDir
,0x37 // was: FILE_NORMAL
,pFinddata
FIND_STRUCT* pFinddata
)
{
- return pFinddata->achName;
+ return (wxChar*)pFinddata->achName;
}
static const FIND_ATTR GetAttrFromFindData(