X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e269a9be19a8c454fee444500447db925992f86b..67d7821742674d740f1a14e300ea5f446310fd17:/src/generic/progdlgg.cpp diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index 2730fb4d4a..ee2f457eff 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -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__