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