]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/notebook_osx.cpp
Make wxDateTime::Tm::yday public and document it.
[wxWidgets.git] / src / osx / notebook_osx.cpp
index 57e034bc6ff1bdf34fa3ed55b1298b0428079796..d78e3b4040fde2ca17dffbd9d860cfafb7ce65a4 100644 (file)
@@ -373,9 +373,7 @@ void wxNotebook::OnSize(wxSizeEvent& event)
     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