#pragma implementation "app.h"
#endif
-// For compilers that support precompilation, includes "wx.h".
-#include "wx/wxprec.h"
-
#ifdef __VMS
-#include <vms_jackets.h>
+// vms_jackets.h should for proper working be included before anything else
+# include <vms_jackets.h>
#undef ConnectionNumber
#endif
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
#include "wx/app.h"
#include "wx/gdicmn.h"
#include "wx/utils.h"
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