X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aeab10d07c1f4ef78c0c9152de115fa216922e6c..765e386bfab10b2e035a993fb09301f5c1239842:/src/generic/notebook.cpp diff --git a/src/generic/notebook.cpp b/src/generic/notebook.cpp index e33702a3d5..a398e2a546 100644 --- a/src/generic/notebook.cpp +++ b/src/generic/notebook.cpp @@ -27,12 +27,12 @@ #pragma hdrstop #endif -#include -#include -#include -#include -#include -#include +#include "wx/string.h" +#include "wx/log.h" +#include "wx/settings.h" +#include "wx/generic/imaglist.h" +#include "wx/notebook.h" +#include "wx/dcclient.h" // ---------------------------------------------------------------------------- // macros @@ -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;