From: Gilles Depeyrot <gilles_depeyrot@mac.com>
Date: Mon, 5 Nov 2001 20:20:14 +0000 (+0000)
Subject: corrected path format for wxMac compiled with Apple DevTools
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4d293f8ef41f405a8ea389ac3e00c0e268e4e305

corrected path format for wxMac compiled with Apple DevTools


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/common/filename.cpp b/src/common/filename.cpp
index ec00ae7bed..38f20fee49 100644
--- a/src/common/filename.cpp
+++ b/src/common/filename.cpp
@@ -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;