X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c768ded54ac51711ad6e62c3c802b382a1965eec..4b1f929cc3421e43409f7d62260bf9ba0ffc75ab:/src/common/nbkbase.cpp diff --git a/src/common/nbkbase.cpp b/src/common/nbkbase.cpp index 29a24d0a8b..527fcc27db 100644 --- a/src/common/nbkbase.cpp +++ b/src/common/nbkbase.cpp @@ -92,24 +92,14 @@ wxSize wxNotebookBase::CalcSizeFromPage(const wxSize& sizePage) // course, totally bogus - just like the original code was wxSize sizeTotal = sizePage; - // Mac has large notebook borders. - if ( HasFlag(wxNB_LEFT) || HasFlag(wxNB_RIGHT) ) { sizeTotal.x += 90; -#ifdef __WXMAC__ - sizeTotal.y += 20; -#else sizeTotal.y += 10; -#endif } else { -#ifdef __WXMAC__ - sizeTotal.x += 32; // This is OK for Aqua. -#else sizeTotal.x += 10; -#endif sizeTotal.y += 40; }