Simplified BC++ makefiles; C++Builder 1.0 compilation seems to work;

changed #ifdef -> #if for wxUSE_STD_IOSTREAM; #ifdefed thread usage in app.cpp.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1999-01-04 21:51:15 +00:00
parent 124031d517
commit 4bf78aae34
57 changed files with 318 additions and 2142 deletions

View File

@@ -38,7 +38,10 @@
#include "wx/msw/private.h"
#include "wx/log.h"
#include "wx/module.h"
#if wxUSE_THREADS
#include "wx/thread.h"
#endif
#if wxUSE_WX_RESOURCES
#include "wx/resource.h"
@@ -868,11 +871,12 @@ void wxApp::OnIdle(wxIdleEvent& event)
// idle events
event.RequestMore(TRUE);
}
#if wxUSE_THREADS
// give a chance to all other threads to perform GUI calls
wxMutexGuiLeave();
::Sleep(0);
wxMutexGuiEnter();
#endif
s_inOnIdle = FALSE;
}