'if' commented out by JACS on behalf

of Hans Van Leemputten <Hansvl@softhome.net> who
points out that UpdateSpinBtn should always be called,
to ensure m_lastVisible is up to date.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2002-08-12 21:41:45 +00:00
parent 2eb31f8b19
commit da1158bb91

View File

@ -382,7 +382,11 @@ wxNotebookPage *wxNotebook::DoRemovePage(int nPage)
m_images.RemoveAt(nPage);
// the spin button might not be needed any more
if ( HasSpinBtn() )
// 2002-08-12 'if' commented out by JACS on behalf
// of Hans Van Leemputten <Hansvl@softhome.net> who
// points out that UpdateSpinBtn should always be called,
// to ensure m_lastVisible is up to date.
// if ( HasSpinBtn() )
{
UpdateSpinBtn();
}