]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/nbkbase.cpp
implemented fallback for AlphaBlend() for the systems not supporting it
[wxWidgets.git] / src / common / nbkbase.cpp
index ccc78efd571a3f26b6bb13e006704ebde51a7ffd..527fcc27db5a4d6f8f8d02c9dca4ef821104936a 100644 (file)
@@ -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;