corrections for Mac OS X
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Thu, 19 Apr 2001 19:06:42 +0000 (19:06 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Thu, 19 Apr 2001 19:06:42 +0000 (19:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/filefn.h
include/wx/statusbr.h

index baccc0131f112823656fd0d74e08123f5664d65f..8021da6a17631cc41d069812ba21f490dd09ad51 100644 (file)
@@ -167,7 +167,7 @@ WXDLLEXPORT void wxDos2UnixFilename(wxChar *s);
 WXDLLEXPORT void wxUnix2DosFilename(wxChar *s);
 #define Unix2DosFilename wxUnix2DosFilename
 
-#ifdef __WXMAC__
+#if defined(__WXMAC__) && !defined(__UNIX__)
   WXDLLEXPORT wxString wxMacFSSpec2MacFilename( const FSSpec *spec ) ;
   WXDLLEXPORT wxString wxMacFSSpec2UnixFilename( const FSSpec *spec ) ;
   WXDLLEXPORT void wxUnixFilename2FSSpec( const char *path , FSSpec *spec ) ;
index 8bd7b8965e055dbfb5148372eeafde782ae88318..0f1c587e6cfa30441ee0d4d22f017bd401bb39bf 100644 (file)
@@ -54,7 +54,7 @@ protected:
     #include "wx/msw/statbr95.h"
 
     typedef wxStatusBar95 wxStatusBarReal;
-#elif defined(__WXMAC__) /* && !defined(__UNIX__) */
+#elif defined(__WXMAC__)
     #include "wx/generic/statusbr.h"
     #include "wx/mac/statusbr.h"