X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/204abcd474fa99071b7bb5b00f7e212b0bde16dc..66f75561893ea7b4bf429d1882d9cc0407ba932d:/src/common/timerimpl.cpp diff --git a/src/common/timerimpl.cpp b/src/common/timerimpl.cpp index 4ab6fa8e23..5d8548329b 100644 --- a/src/common/timerimpl.cpp +++ b/src/common/timerimpl.cpp @@ -49,7 +49,7 @@ void wxTimerImpl::SetOwner(wxEvtHandler *owner, int timerid) void wxTimerImpl::SendEvent() { wxTimerEvent event(*m_timer); - (void)m_owner->ProcessEvent(event); + (void)m_owner->SafelyProcessEvent(event); } bool wxTimerImpl::Start(int milliseconds, bool oneShot) @@ -58,7 +58,7 @@ bool wxTimerImpl::Start(int milliseconds, bool oneShot) // let the caller know about it #if wxUSE_THREADS wxASSERT_MSG( wxThread::IsMain(), - _T("timer can only be started from the main thread") ); + wxT("timer can only be started from the main thread") ); #endif // wxUSE_THREADS if ( IsRunning() )