configure and #ifdef wxUSE_XXX updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-01-04 13:52:06 +00:00
parent 9ca2fe7ee6
commit ac57418f39
56 changed files with 670 additions and 1567 deletions

View File

@@ -24,8 +24,9 @@
#endif
#include "wx/module.h"
#include "wx/image.h"
#ifdef wxUSE_THREADS
#include "wx/thread.h"
#endif
#include "unistd.h"
#include "glib.h"
@@ -145,9 +146,13 @@ END_EVENT_TABLE()
gint wxapp_idle_callback( gpointer WXUNUSED(data) )
{
if (wxTheApp) while (wxTheApp->ProcessIdle()) {}
#ifdef wxUSE_THREADS
wxMutexGuiLeave();
#endif
usleep(10000);
#ifdef wxUSE_THREADS
wxMutexGuiEnter();
#endif
return TRUE;
}