diff --git a/src/mac/carbon/timer.cpp b/src/mac/carbon/timer.cpp index 107906e763..f2b5f2e896 100644 --- a/src/mac/carbon/timer.cpp +++ b/src/mac/carbon/timer.cpp @@ -79,6 +79,8 @@ bool wxTimer::Start(int milliseconds,bool mode) #endif m_info.m_task.tmWakeUp = 0 ; m_info.m_task.tmReserved = 0 ; + m_info.m_task.qType = 0 ; + m_info.m_timer = this ; InsXTime((QElemPtr) &m_info.m_task ) ; PrimeTime( (QElemPtr) &m_info.m_task , m_milli ) ; return FALSE; diff --git a/src/mac/carbon/utils.cpp b/src/mac/carbon/utils.cpp index 9389888343..1a71c0c784 100644 --- a/src/mac/carbon/utils.cpp +++ b/src/mac/carbon/utils.cpp @@ -104,7 +104,7 @@ bool wxGetUserName(char *buf, int maxSize) return TRUE; } -int wxKill(long pid, int sig) +int wxKill(long pid, wxSignal sig) { // TODO return 0; diff --git a/src/mac/timer.cpp b/src/mac/timer.cpp index 107906e763..f2b5f2e896 100644 --- a/src/mac/timer.cpp +++ b/src/mac/timer.cpp @@ -79,6 +79,8 @@ bool wxTimer::Start(int milliseconds,bool mode) #endif m_info.m_task.tmWakeUp = 0 ; m_info.m_task.tmReserved = 0 ; + m_info.m_task.qType = 0 ; + m_info.m_timer = this ; InsXTime((QElemPtr) &m_info.m_task ) ; PrimeTime( (QElemPtr) &m_info.m_task , m_milli ) ; return FALSE; diff --git a/src/mac/utils.cpp b/src/mac/utils.cpp index 9389888343..1a71c0c784 100644 --- a/src/mac/utils.cpp +++ b/src/mac/utils.cpp @@ -104,7 +104,7 @@ bool wxGetUserName(char *buf, int maxSize) return TRUE; } -int wxKill(long pid, int sig) +int wxKill(long pid, wxSignal sig) { // TODO return 0;