diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index 39313cf7d9..7a3cdb7a3f 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -86,8 +86,6 @@ 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;