projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Misc release-related mods
[wxWidgets.git]
/
src
/
mac
/
carbon
/
timer.cpp
diff --git
a/src/mac/carbon/timer.cpp
b/src/mac/carbon/timer.cpp
index a958d21f1ff37849bad8cc01d9670073d372a8fc..107906e76390397021ded29b072e42561e845348 100644
(file)
--- a/
src/mac/carbon/timer.cpp
+++ b/
src/mac/carbon/timer.cpp
@@
-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;
wxCHECK_MSG( m_info.m_task.tmAddr == NULL , FALSE, wxT("attempting to restart a timer") );
m_milli = milliseconds;
-#if
def __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 ) ;
m_info.m_task.tmAddr = NewTimerUPP( MacTimerProc ) ;
#else
m_info.m_task.tmAddr = NewTimerProc( MacTimerProc ) ;