]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/progdlgg.cpp
Added samples.inc to DATAFILES in Makefile.in - is that enough?
[wxWidgets.git] / src / generic / progdlgg.cpp
index 7a3cdb7a3ff811a8ef55294eb843e71d191e2010..dd0765d2edd8e9433f6e015d8e0a23ec0732575e 100644 (file)
@@ -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;