]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/timer.cpp
use GetText() instead of GetText(wxString&), made some methods inline
[wxWidgets.git] / src / mac / timer.cpp
index a958d21f1ff37849bad8cc01d9670073d372a8fc..107906e76390397021ded29b072e42561e845348 100644 (file)
@@ -72,7 +72,7 @@ bool wxTimer::Start(int milliseconds,bool mode)
     wxCHECK_MSG( m_info.m_task.tmAddr == NULL , FALSE, wxT("attempting to restart a timer") );
 
     m_milli = milliseconds;
-#ifdef __UNIX__
+#if defined(UNIVERSAL_INTERFACES_VERSION) && (UNIVERSAL_INTERFACES_VERSION >= 0x0340)
     m_info.m_task.tmAddr = NewTimerUPP( MacTimerProc ) ;
 #else
     m_info.m_task.tmAddr = NewTimerProc( MacTimerProc ) ;