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:
@@ -1127,7 +1127,7 @@ void wxNotebook::UpdateSpinBtn()
|
|||||||
}
|
}
|
||||||
else // all tabs are visible, we don't need spin button
|
else // all tabs are visible, we don't need spin button
|
||||||
{
|
{
|
||||||
if ( m_spinbtn )
|
if ( m_spinbtn && m_spinbtn -> IsShown() )
|
||||||
{
|
{
|
||||||
m_spinbtn->Hide();
|
m_spinbtn->Hide();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user