X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be11d578d1cc99aab3b49517d5f89ae029cfba6c..d9ff0f91fbddae88286567cab74dcfb59c91fc0f:/src/mac/morefile/mfsearch.cpp?ds=sidebyside diff --git a/src/mac/morefile/mfsearch.cpp b/src/mac/morefile/mfsearch.cpp index 8bdba2716b..6aed9b934d 100644 --- a/src/mac/morefile/mfsearch.cpp +++ b/src/mac/morefile/mfsearch.cpp @@ -791,7 +791,11 @@ pascal OSErr IndexedSearch(CSParamPtr pb, if ( pb->ioSearchTime != 0 ) { /* Start timer */ +#if defined(UNIVERSAL_INTERFACES_VERSION) && (UNIVERSAL_INTERFACES_VERSION >= 0x0340) + timerTask.theTask.tmAddr = NewTimerUPP(TimeOutTask); +#else timerTask.theTask.tmAddr = NewTimerProc(TimeOutTask); +#endif InsTime((QElemPtr)&(timerTask.theTask)); PrimeTime((QElemPtr)&(timerTask.theTask), pb->ioSearchTime); }