Put dialog in more sensible place in Forty, got a bit further

with running it under wxX11 but still crashes (bad XPM?)
Updated wxX11 readme text
Added more wxYields to progress dialog
Added timer and idle processing to wxApp::Yield for X11
Made busy info dialog thick frame for wxX11, else
no decorations
Some corrections for Nano-X
Made text for busy dialog more sensible in dialogs sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-03-21 13:10:17 +00:00
parent 618f2efa41
commit 868741e9d3
14 changed files with 122 additions and 49 deletions

View File

@@ -239,6 +239,16 @@ bool wxEventLoop::Dispatch()
if (XPending((Display*) wxGetDisplay()) == 0)
{
#if wxUSE_NANOX
GR_TIMEOUT timeout = 10; // Milliseconds
// Wait for next event, or timeout
GrGetNextEventTimeout(& event, timeout);
// Fall through to ProcessEvent.
// we'll assume that ProcessEvent will just ignore
// the event if there was a timeout and no event.
#else
struct timeval tv;
tv.tv_sec=0;
tv.tv_usec=10000; // TODO make this configurable
@@ -256,6 +266,7 @@ bool wxEventLoop::Dispatch()
// An event was pending, so get it
XNextEvent((Display*) wxGetDisplay(), & event);
}
#endif
} else
{
XNextEvent((Display*) wxGetDisplay(), & event);