diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index 1cdf4a2fd1..8bb26d9041 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -114,7 +114,8 @@ wxProgressDialog::wxProgressDialog(wxString const &title, Fit(); // and set the width from it wxSize size = GetClientSize(); - SetClientSize(2*size.y, size.y); + if(size.x < 2*size.y) + SetClientSize(2*size.y, size.y); Show(TRUE); Centre(wxCENTER_FRAME | wxBOTH);