#include "wx/filedlg.h"
#include "wx/intl.h"
-#if !defined(__UNIX__)
+#ifndef __DARWIN__
#include "PLStringFuncs.h"
#endif
// begin wxmac
-#if defined(__UNIX__)
- #include <Carbon/Carbon.h>
-#else
+#ifndef __DARWIN__
#include <Navigation.h>
#endif
-#ifndef __UNIX__
+#ifndef __DARWIN__
#include "morefile.h"
#include "moreextr.h"
#include "fullpath.h"
}
-Boolean CrossPlatformFilterCallback (
+pascal Boolean CrossPlatformFilterCallback (
AEDesc *theItem,
void *info,
void *callBackUD,
}
}
- mNavFilterUPP = NewNavObjectFilterProc( CrossPlatformFilterCallback ) ;
+ mNavFilterUPP = NewNavObjectFilterUPP( CrossPlatformFilterCallback ) ;
if ( m_dialogStyle & wxMULTIPLE )
mNavOptions.dialogOptionFlags |= kNavAllowMultipleFiles ;
else