X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c768ded54ac51711ad6e62c3c802b382a1965eec..4aaef122cbbd5bbe0e70b824e320458e2329dd13:/src/common/nbkbase.cpp?ds=sidebyside diff --git a/src/common/nbkbase.cpp b/src/common/nbkbase.cpp index 29a24d0a8b..ccc78efd57 100644 --- a/src/common/nbkbase.cpp +++ b/src/common/nbkbase.cpp @@ -98,7 +98,7 @@ wxSize wxNotebookBase::CalcSizeFromPage(const wxSize& sizePage) { sizeTotal.x += 90; #ifdef __WXMAC__ - sizeTotal.y += 20; + sizeTotal.y += 28; #else sizeTotal.y += 10; #endif @@ -106,11 +106,12 @@ wxSize wxNotebookBase::CalcSizeFromPage(const wxSize& sizePage) else { #ifdef __WXMAC__ - sizeTotal.x += 32; // This is OK for Aqua. + sizeTotal.x += 34; // This is OK for Aqua. + sizeTotal.y += 46; #else sizeTotal.x += 10; -#endif sizeTotal.y += 40; +#endif } return sizeTotal;