X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/223d09f6b523aac674ef9b72a883dfa8d37c5d4e..0240e8b1aa935d43689b0b8ec36de3c06c1a4758:/src/generic/progdlgg.cpp diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index c6d34316e1..46f42696d9 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -227,6 +227,9 @@ wxProgressDialog::wxProgressDialog(wxString const &title, // Update the display (especially on X, GTK) wxYield(); + #ifdef __WXMAC__ + MacUpdateImmediately() ; + #endif } wxStaticText *wxProgressDialog::CreateLabel(const wxString& text, @@ -313,6 +316,9 @@ wxProgressDialog::Update(int value, const wxString& newmsg) // update the display wxYield(); } + #ifdef __WXMAC__ + MacUpdateImmediately() ; + #endif return m_state != Canceled; }