X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaf336e02ad6fbb60113181ff4c1dd081ef38f63..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/src/common/nbkbase.cpp?ds=sidebyside diff --git a/src/common/nbkbase.cpp b/src/common/nbkbase.cpp index 0a9993361c..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 += 15; -#else sizeTotal.y += 10; -#endif } else { -#ifdef __WXMAC__ - sizeTotal.x += 28; // This is correct for Aqua. -#else sizeTotal.x += 10; -#endif sizeTotal.y += 40; }