X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/af237ae405f7598c7893d6f46caaf72e64ff8fcf..74a3342702bf3a76a845f65f4510fd8612d3d802:/src/generic/progdlgg.cpp diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index ebf5a78e8b..d286409ab9 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -668,6 +668,8 @@ void wxProgressDialog::UpdateMessage(const wxString &newmsg) { m_msg->SetLabel(newmsg); + Fit(); // adapt to the new label size + wxYieldIfNeeded() ; } }