X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac6bdf4056e08575f4d27b2e451a9dcdbe9742f8..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/src/common/nbkbase.cpp diff --git a/src/common/nbkbase.cpp b/src/common/nbkbase.cpp index ccc78efd57..527fcc27db 100644 --- a/src/common/nbkbase.cpp +++ b/src/common/nbkbase.cpp @@ -92,26 +92,15 @@ 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 += 28; -#else sizeTotal.y += 10; -#endif } else { -#ifdef __WXMAC__ - sizeTotal.x += 34; // This is OK for Aqua. - sizeTotal.y += 46; -#else sizeTotal.x += 10; sizeTotal.y += 40; -#endif } return sizeTotal;