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:
@@ -270,6 +270,7 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
|
||||
|
||||
// Update the display (especially on X, GTK)
|
||||
wxYield();
|
||||
wxYield();
|
||||
|
||||
#ifdef __WXMAC__
|
||||
MacUpdateImmediately();
|
||||
@@ -330,6 +331,7 @@ wxProgressDialog::Update(int value, const wxString& newmsg)
|
||||
m_msg->SetLabel(newmsg);
|
||||
|
||||
wxYield();
|
||||
wxYield();
|
||||
}
|
||||
|
||||
if ( (m_elapsed || m_remaining || m_estimated) && (value != 0) )
|
||||
@@ -368,6 +370,7 @@ wxProgressDialog::Update(int value, const wxString& newmsg)
|
||||
m_msg->SetLabel(_("Done."));
|
||||
}
|
||||
|
||||
wxYield();
|
||||
wxYield();
|
||||
|
||||
(void)ShowModal();
|
||||
@@ -382,6 +385,7 @@ wxProgressDialog::Update(int value, const wxString& newmsg)
|
||||
{
|
||||
// update the display
|
||||
wxYield();
|
||||
wxYield();
|
||||
}
|
||||
|
||||
#ifdef __WXMAC__
|
||||
|
Reference in New Issue
Block a user