]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
since drawtext does not have to take linefeeds into account, they're #if 0'ed now...
[wxWidgets.git] / src / common / filefn.cpp
index 92692711ad1f04d62ee085db6db1ac0ab97cba9c..1f80781a6a72ad1ce6eb4d1cecc1714a5a831ae4 100644 (file)
@@ -1303,6 +1303,7 @@ bool wxRemoveFile(const wxString& file)
 #if defined(__VISUALC__) \
  || defined(__BORLANDC__) \
  || defined(__WATCOMC__) \
+ || defined(__DMC__) \
  || defined(__GNUWIN32__)
   int res = wxRemove(file);
 #elif defined(__WXMAC__)
@@ -1591,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