added condition for DARWIN (thanks to Steve Hartwell)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1592,7 +1592,7 @@ wxChar *wxGetWorkingDirectory(wxChar *buf, int sz)
|
|||||||
ok = getcwd(cbuf, sz) != NULL;
|
ok = getcwd(cbuf, sz) != NULL;
|
||||||
#endif // platform
|
#endif // platform
|
||||||
|
|
||||||
#if wxUSE_UNICODE && !defined(__WXMAC__)
|
#if wxUSE_UNICODE && !(defined(__WXMAC__) && !defined(__DARWIN__))
|
||||||
// finally convert the result to Unicode if needed
|
// finally convert the result to Unicode if needed
|
||||||
wxConvFile.MB2WC(buf, cbuf, sz);
|
wxConvFile.MB2WC(buf, cbuf, sz);
|
||||||
#endif // wxUSE_UNICODE
|
#endif // wxUSE_UNICODE
|
||||||
|
Reference in New Issue
Block a user