X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaf336e02ad6fbb60113181ff4c1dd081ef38f63..88594d02eb59a55ac85d3210a49d02918124617b:/src/common/nbkbase.cpp?ds=sidebyside diff --git a/src/common/nbkbase.cpp b/src/common/nbkbase.cpp index 0a9993361c..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 += 15; + sizeTotal.y += 28; #else sizeTotal.y += 10; #endif @@ -106,11 +106,12 @@ wxSize wxNotebookBase::CalcSizeFromPage(const wxSize& sizePage) else { #ifdef __WXMAC__ - sizeTotal.x += 28; // This is correct for Aqua. + sizeTotal.x += 34; // This is OK for Aqua. + sizeTotal.y += 46; #else sizeTotal.x += 10; -#endif sizeTotal.y += 40; +#endif } return sizeTotal;