]> git.saurik.com Git - wxWidgets.git/commitdiff
'if' commented out by JACS on behalf
authorJulian Smart <julian@anthemion.co.uk>
Mon, 12 Aug 2002 21:41:45 +0000 (21:41 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 12 Aug 2002 21:41:45 +0000 (21:41 +0000)
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

src/univ/notebook.cpp

index c90d042c3972158c88c8ae86860fdef175c5c3e5..d3d4b29fe1b982e757a0f35b69aa6662747fc783 100644 (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();
     }