X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac6bdf4056e08575f4d27b2e451a9dcdbe9742f8..16c9a4258f33da3a3a6c14bec9d1b239f2c93edd:/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;