fix of previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
70a5b429e7
commit
96becbd8fa
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user