From: Julian Smart Date: Mon, 12 Aug 2002 21:41:45 +0000 (+0000) Subject: 'if' commented out by JACS on behalf X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/da1158bb912c4aef45c07ce2de5b69ea2773f65e 'if' commented out by JACS on behalf of Hans Van Leemputten 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 --- diff --git a/src/univ/notebook.cpp b/src/univ/notebook.cpp index c90d042c39..d3d4b29fe1 100644 --- a/src/univ/notebook.cpp +++ b/src/univ/notebook.cpp @@ -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 who + // points out that UpdateSpinBtn should always be called, + // to ensure m_lastVisible is up to date. + // if ( HasSpinBtn() ) { UpdateSpinBtn(); }