]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filename.cpp
fixed bug with redoing the command when there was nothing to redo
[wxWidgets.git] / src / common / filename.cpp
index ec00ae7bed33fa2da0c95bdb413cafe4cd2da5a8..38f20fee49fd8de3840fbf243ddf0d65607349b3 100644 (file)
@@ -811,7 +811,7 @@ wxPathFormat wxFileName::GetFormat( wxPathFormat format )
     {
 #if defined(__WXMSW__) || defined(__WXPM__)
         format = wxPATH_DOS;
     {
 #if defined(__WXMSW__) || defined(__WXPM__)
         format = wxPATH_DOS;
-#elif defined(__WXMAC__)
+#elif defined(__WXMAC__) && !defined(__DARWIN__)
         format = wxPATH_MAC; 
 #else
         format = wxPATH_UNIX;
         format = wxPATH_MAC; 
 #else
         format = wxPATH_UNIX;