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:
		@@ -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;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user