]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/nbkbase.cpp
Applied patch [ 602924 ] colours and effects in wxMSW::wxFontDialog
[wxWidgets.git] / src / common / nbkbase.cpp
index 0a9993361c4f0e76026753f2f65d67f822d1d0b1..527fcc27db5a4d6f8f8d02c9dca4ef821104936a 100644 (file)
@@ -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;
     }