X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaf336e02ad6fbb60113181ff4c1dd081ef38f63..2fe0ef8a1e4a61e3baab7f6e512b28543ad4c97c:/src/common/nbkbase.cpp 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; }