removing dependany on mac headers from public wx headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f2c16a0b2c
commit
fd1bc7fcb3
@ -55,7 +55,7 @@
|
|||||||
#elif defined(__DARWIN__)
|
#elif defined(__DARWIN__)
|
||||||
typedef void *wxDllType;
|
typedef void *wxDllType;
|
||||||
#elif defined(__WXMAC__)
|
#elif defined(__WXMAC__)
|
||||||
typedef CFragConnectionID wxDllType;
|
typedef void *wxDllType;
|
||||||
#else
|
#else
|
||||||
# error "wxLibrary can't be compiled on this platform, sorry."
|
# error "wxLibrary can't be compiled on this platform, sorry."
|
||||||
#endif // OS
|
#endif // OS
|
||||||
|
@ -173,18 +173,6 @@ WXDLLEXPORT void wxDos2UnixFilename(wxChar *s);
|
|||||||
WXDLLEXPORT void wxUnix2DosFilename(wxChar *s);
|
WXDLLEXPORT void wxUnix2DosFilename(wxChar *s);
|
||||||
#define Unix2DosFilename wxUnix2DosFilename
|
#define Unix2DosFilename wxUnix2DosFilename
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
|
||||||
WXDLLEXPORT wxString wxMacFSSpec2MacFilename( const FSSpec *spec ) ;
|
|
||||||
WXDLLEXPORT void wxMacFilename2FSSpec( const char *path , FSSpec *spec ) ;
|
|
||||||
# ifndef __DARWIN__
|
|
||||||
// Mac file names are POSIX (Unix style) under Darwin, so these are not needed
|
|
||||||
WXDLLEXPORT wxString wxMacFSSpec2UnixFilename( const FSSpec *spec ) ;
|
|
||||||
WXDLLEXPORT void wxUnixFilename2FSSpec( const char *path , FSSpec *spec ) ;
|
|
||||||
WXDLLEXPORT wxString wxMac2UnixFilename( const char *s) ;
|
|
||||||
WXDLLEXPORT wxString wxUnix2MacFilename( const char *s);
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Strip the extension, in situ
|
// Strip the extension, in situ
|
||||||
WXDLLEXPORT void wxStripExtension(wxChar *buffer);
|
WXDLLEXPORT void wxStripExtension(wxChar *buffer);
|
||||||
WXDLLEXPORT void wxStripExtension(wxString& buffer);
|
WXDLLEXPORT void wxStripExtension(wxString& buffer);
|
||||||
|
Loading…
Reference in New Issue
Block a user