disable the first top level parent, not the topmost top level parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ffda4dacbd
commit
6258e418a0
@ -115,11 +115,7 @@ wxProgressDialog::wxProgressDialog(wxString const &title,
|
||||
m_maximum /= m_factor;
|
||||
#endif // __WXMSW__
|
||||
|
||||
m_parentTop = parent;
|
||||
while ( m_parentTop && m_parentTop->GetParent() )
|
||||
{
|
||||
m_parentTop = m_parentTop->GetParent();
|
||||
}
|
||||
m_parentTop = wxGetTopLevelParent(parent);
|
||||
|
||||
wxLayoutConstraints *c;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user