#include "wx/image.h"
#if wxUSE_THREADS
-#include "wx/thread.h"
+ #include "wx/thread.h"
#endif
#include <unistd.h>
m_topWindow = (wxWindow *) NULL;
m_exitOnFrameDelete = TRUE;
- m_idleTag = gtk_idle_add( wxapp_idle_callback, (gpointer) NULL );
+ m_idleTag = gtk_idle_add_priority( 500, wxapp_idle_callback, (gpointer) NULL );
#if wxUSE_THREADS
m_wakeUpTimerTag = 0;
{
#if wxUSE_THREADS
/* GTK 1.2 up to version 1.2.3 has broken threads */
- if ((gtk_major_version == 1) &&
+#ifdef __VMS__
+ if ((vms_gtk_major_version() == 1) &&
+ (vms_gtk_minor_version() == 2) &&
+ (vms_gtk_micro_version() < 4))
+#else
+ if ((gtk_major_version == 1) &&
(gtk_minor_version == 2) &&
(gtk_micro_version < 4))
- {
+#endif
+ {
printf( "wxWindows warning: GUI threading disabled due to outdated GTK version\n" );
}
else
int wxEntry( int argc, char *argv[] )
{
- int err;
-
- err = wxEntryStart(argc, argv);
+ int err = wxEntryStart(argc, argv);
if (err)
return err;