handle C++ exception in EVT_{TIMER,IDLE} handlers (#9768)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-07-20 22:05:30 +00:00
parent 2adc95dea3
commit 85716ec3bf
2 changed files with 2 additions and 2 deletions

View File

@@ -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)