fix the wrong size of the first page when it's added to the notebook (replaces patch 728770)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-05-01 16:39:59 +00:00
parent a452af5e68
commit 2015f2b308
2 changed files with 31 additions and 7 deletions

View File

@@ -132,9 +132,14 @@ protected:
// remove one page from the notebook, without deleting
virtual wxNotebookPage *DoRemovePage(int nPage);
// set the size of the given page to fit in the notebook
void AdjustPageSize(wxNotebookPage *page);
// the current selection (-1 if none)
int m_nSelection;
DECLARE_DYNAMIC_CLASS(wxNotebook)
DECLARE_EVENT_TABLE()
};