]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/progdlgg.cpp
Fixes #10247: wxDataViewCtrl - event is generated when clicking on a non existing row
[wxWidgets.git] / src / generic / progdlgg.cpp
index ebf5a78e8b1e4c842320805eac9efd5e37eb5289..d286409ab9b44e9c93ef7434631bc33893a52e86 100644 (file)
@@ -668,6 +668,8 @@ void wxProgressDialog::UpdateMessage(const wxString &newmsg)
     {
         m_msg->SetLabel(newmsg);
 
+        Fit();   // adapt to the new label size
+
         wxYieldIfNeeded() ;
     }
 }