diff --git a/src/generic/progdlgg.cpp b/src/generic/progdlgg.cpp index b6ec082df9..712d07519c 100644 --- a/src/generic/progdlgg.cpp +++ b/src/generic/progdlgg.cpp @@ -144,7 +144,6 @@ bool wxGenericProgressDialog::Create( const wxString& title, { SetTopParent(parent); - m_parentTop = wxGetTopLevelParent(parent); m_pdStyle = style; wxWindow* const