IMPLEMENT_ABSTRACT_CLASS(wxTimer, wxObject)
-static gint timeout_callback( gpointer data )
+extern "C" gint timeout_callback( gpointer data )
{
wxTimer *timer = (wxTimer*)data;
{
(void)wxTimerBase::Start(millisecs, oneShot);
+ if (m_tag != -1)
+ gtk_timeout_remove( m_tag );
+
m_tag = gtk_timeout_add( m_milli, timeout_callback, this );
return TRUE;