]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected path format for wxMac compiled with Apple DevTools
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Mon, 5 Nov 2001 20:20:14 +0000 (20:20 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Mon, 5 Nov 2001 20:20:14 +0000 (20:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;
-#elif defined(__WXMAC__)
+#elif defined(__WXMAC__) && !defined(__DARWIN__)
         format = wxPATH_MAC; 
 #else
         format = wxPATH_UNIX;