From: Václav Slavík Date: Tue, 7 Mar 2000 21:32:40 +0000 (+0000) Subject: fix of previous commit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/96becbd8fa93b89e47b71e1a6081fb909fd8baae?ds=inline fix of previous commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index 7a3cdb7a3f..dd0765d2ed 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -86,6 +86,8 @@ wxProgressDialog::wxProgressDialog(wxString const &title, int style) : wxDialog(parent, -1, title) { + m_windowStyle |= style; + bool hasAbortButton = (style & wxPD_CAN_ABORT) != 0; m_state = hasAbortButton ? Continue : Uncancelable; m_maximum = maximum;