'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:
@@ -382,7 +382,11 @@ wxNotebookPage *wxNotebook::DoRemovePage(int nPage)
|
|||||||
m_images.RemoveAt(nPage);
|
m_images.RemoveAt(nPage);
|
||||||
|
|
||||||
// the spin button might not be needed any more
|
// 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();
|
UpdateSpinBtn();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user