X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f92f6fbab2c965c5b7f53c35c3cc3fb69eb2172..dbcbe229628c7667da2b6257198467d4f09ab28d:/src/mac/carbon/filedlg.cpp diff --git a/src/mac/carbon/filedlg.cpp b/src/mac/carbon/filedlg.cpp index 66e3c72b57..144cdee796 100644 --- a/src/mac/carbon/filedlg.cpp +++ b/src/mac/carbon/filedlg.cpp @@ -20,7 +20,7 @@ #include "wx/filedlg.h" #include "wx/intl.h" -#if !defined(__UNIX__) +#ifndef __DARWIN__ #include "PLStringFuncs.h" #endif @@ -30,13 +30,11 @@ IMPLEMENT_CLASS(wxFileDialog, wxDialog) // begin wxmac -#if defined(__UNIX__) - #include -#else +#ifndef __DARWIN__ #include #endif -#ifndef __UNIX__ +#ifndef __DARWIN__ #include "morefile.h" #include "moreextr.h" #include "fullpath.h" @@ -546,7 +544,7 @@ wxFileDialog::wxFileDialog(wxWindow *parent, const wxString& message, } -Boolean CrossPlatformFilterCallback ( +pascal Boolean CrossPlatformFilterCallback ( AEDesc *theItem, void *info, void *callBackUD, @@ -751,7 +749,7 @@ int wxFileDialog::ShowModal() } } - mNavFilterUPP = NewNavObjectFilterProc( CrossPlatformFilterCallback ) ; + mNavFilterUPP = NewNavObjectFilterUPP( CrossPlatformFilterCallback ) ; if ( m_dialogStyle & wxMULTIPLE ) mNavOptions.dialogOptionFlags |= kNavAllowMultipleFiles ; else