Hmm, apparently had to add FNSTRINGCAST elsewhere in the file too

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven 1999-08-03 13:05:19 +00:00
parent ff881f70d3
commit c9f9be4510

View File

@ -1503,7 +1503,7 @@ wxString wxGetCwd()
bool wxSetWorkingDirectory(const wxString& d)
{
#if defined( __UNIX__ ) || defined( __WXMAC__ ) || defined(__WXPM__)
return (chdir((char*)d.fn_str()) == 0);
return (chdir(FNSTRINGCAST d.fn_str()) == 0);
#elif defined(__WINDOWS__)
#ifdef __WIN32__