Remove redundant wxGenericProgressDialog::m_parentTop assignment

The line setting m_parentTop directly was mistakenly left over even
after 7e08367534 added the call to
SetTopParent() just above it.

Remove it now (better late than never), it's redundant at best and even
wrong if the top level parent can't be used as the dialog parent because
SetTopParent() checks for this but this line did not.
This commit is contained in:
Vadim Zeitlin
2017-10-29 18:59:34 +01:00
parent 12efb20ad2
commit 58f90d36a0

View File

@@ -144,7 +144,6 @@ bool wxGenericProgressDialog::Create( const wxString& title,
{
SetTopParent(parent);
m_parentTop = wxGetTopLevelParent(parent);
m_pdStyle = style;
wxWindow* const