corrected conditional compilation for Universal Interfaces (3.4 or later)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 ) ;
|
||||
|
||||
Reference in New Issue
Block a user