return (gtk_events_pending() > 0);
}
-void wxApp::Dispatch()
+bool wxApp::Dispatch()
{
gtk_main_iteration();
+
+ return true;
}
bool wxApp::Initialize(int& argc, wxChar **argv)
}
else
{
- g_thread_init(NULL);
+ if (!g_thread_supported())
+ g_thread_init(NULL);
}
#endif // wxUSE_THREADS