fixes bug when closing mdi frame with >5 children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f5d5bd1ddc
commit
b039ef1d48
@ -1127,7 +1127,7 @@ void wxNotebook::UpdateSpinBtn()
|
||||
}
|
||||
else // all tabs are visible, we don't need spin button
|
||||
{
|
||||
if ( m_spinbtn )
|
||||
if ( m_spinbtn && m_spinbtn -> IsShown() )
|
||||
{
|
||||
m_spinbtn->Hide();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user