fixed wxPD_AUTO_HIDE bug (didn't auto hide)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
266e83674a
commit
0990cd942e
@ -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