X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aeab10d07c1f4ef78c0c9152de115fa216922e6c..408859237485ea905d349a5e430837151c472b99:/src/generic/notebook.cpp diff --git a/src/generic/notebook.cpp b/src/generic/notebook.cpp index e33702a3d5..3b18a3ce2a 100644 --- a/src/generic/notebook.cpp +++ b/src/generic/notebook.cpp @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include // ---------------------------------------------------------------------------- @@ -479,7 +479,7 @@ bool wxNotebook::RefreshLayout(bool force) m_tabView->SetViewRect(rect); - m_tabView->Layout(); + m_tabView->LayoutTabs(); // Need to do it a 2nd time to get the tab height with // the new view width, since changing the view width changes the @@ -492,7 +492,7 @@ bool wxNotebook::RefreshLayout(bool force) m_tabView->SetViewRect(rect); - m_tabView->Layout(); + m_tabView->LayoutTabs(); if (!force && (rect == oldRect)) return FALSE;