X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c768ded54ac51711ad6e62c3c802b382a1965eec..957686c882df820c73e2e35732969a4da8d72098:/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; }