]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/timerimpl.cpp
declare all NameStr[] strings as const char using the correct WXDLLIMPEXP_DATA_ macro...
[wxWidgets.git] / src / common / timerimpl.cpp
index 3f94268d218ef9f88d6a81870df78c398ab2a0f5..c2ac8e8712865e56c09eaf220652e61f02642c85 100644 (file)
@@ -29,6 +29,7 @@
 
 #include "wx/private/timer.h"
 #include "wx/utils.h"               // for wxNewId()
 
 #include "wx/private/timer.h"
 #include "wx/utils.h"               // for wxNewId()
+#include "wx/thread.h"
 
 wxTimerImpl::wxTimerImpl(wxTimer *timer)
 {
 
 wxTimerImpl::wxTimerImpl(wxTimer *timer)
 {
@@ -48,7 +49,7 @@ void wxTimerImpl::SetOwner(wxEvtHandler *owner, int timerid)
 void wxTimerImpl::SendEvent()
 {
     wxTimerEvent event(*m_timer);
 void wxTimerImpl::SendEvent()
 {
     wxTimerEvent event(*m_timer);
-    (void)m_owner->ProcessEvent(event);
+    (void)m_owner->SafelyProcessEvent(event);
 }
 
 bool wxTimerImpl::Start(int milliseconds, bool oneShot)
 }
 
 bool wxTimerImpl::Start(int milliseconds, bool oneShot)