]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
honour the 2nd parameter of DeleteEntry() instead of always deleting empty groups...
[wxWidgets.git] / 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