git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65627
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
for ( unsigned int nPage = 0; nPage < nCount; nPage++ )
{
wxNotebookPage *pPage = m_pages[nPage];
for ( unsigned int nPage = 0; nPage < nCount; nPage++ )
{
wxNotebookPage *pPage = m_pages[nPage];
- pPage->SetSize(rect);
- if ( pPage->GetAutoLayout() )
- pPage->Layout();
+ pPage->SetSize(rect, wxSIZE_FORCE_EVENT);
}
// If the selected page is hidden at this point, the notebook
}
// If the selected page is hidden at this point, the notebook