X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94f5392355df17ef8cd4884637a1ce71a07dd685..a83b5b74c365705144f9359d4527e4b2d073f569:/src/generic/progdlgg.cpp diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index 0e64813028..46d94c98b9 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -115,7 +115,7 @@ wxProgressDialog::wxProgressDialog(wxString const &title, m_hasSkipButton = (style & wxPD_CAN_SKIP) != 0; bool isPda = (wxSystemSettings::GetScreenType() <= wxSYS_SCREEN_PDA); - + #if defined(__WXMSW__) && !defined(__WXUNIVERSAL__) // we have to remove the "Close" button from the title bar then as it is // confusing to have it - it doesn't work anyhow @@ -427,7 +427,7 @@ wxProgressDialog::Update(int value, const wxString& newmsg, bool *skip) EnableCloseButton(); #endif // __WXMSW__ - if ( !newmsg.empty() ) + if ( newmsg.empty() ) { // also provide the finishing message if the application didn't m_msg->SetLabel(_("Done."));