]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed wxPD_AUTO_HIDE bug (didn't auto hide)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 28 Feb 2000 16:44:27 +0000 (16:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 28 Feb 2000 16:44:27 +0000 (16:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/progdlgg.cpp

index 7a3cdb7a3ff811a8ef55294eb843e71d191e2010..39313cf7d96c930b7f4ec81bf9a999b1c52d9751 100644 (file)
@@ -86,6 +86,8 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
                                    int style)
                 : wxDialog(parent, -1, 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;
     bool hasAbortButton = (style & wxPD_CAN_ABORT) != 0;
     m_state = hasAbortButton ? Continue : Uncancelable;
     m_maximum = maximum;