X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eaf336e02ad6fbb60113181ff4c1dd081ef38f63..16c9a4258f33da3a3a6c14bec9d1b239f2c93edd:/src/common/nbkbase.cpp?ds=inline 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; }