]> git.saurik.com Git - wxWidgets.git/commitdiff
added condition for DARWIN (thanks to Steve Hartwell)
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 11 Feb 2004 15:08:47 +0000 (15:08 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 11 Feb 2004 15:08:47 +0000 (15:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filefn.cpp

index c9daf16772c19ce2335b3ee73848bbef22a05149..1f80781a6a72ad1ce6eb4d1cecc1714a5a831ae4 100644 (file)
@@ -1592,7 +1592,7 @@ wxChar *wxGetWorkingDirectory(wxChar *buf, int sz)
         ok = getcwd(cbuf, sz) != NULL;
     #endif // platform
 
-    #if wxUSE_UNICODE && !defined(__WXMAC__)
+    #if wxUSE_UNICODE && !(defined(__WXMAC__) && !defined(__DARWIN__))
         // finally convert the result to Unicode if needed
         wxConvFile.MB2WC(buf, cbuf, sz);
     #endif // wxUSE_UNICODE