]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/nbkbase.cpp
corrected passing const char * to a function taking char * (part of the patch 543892)
[wxWidgets.git] / src / common / nbkbase.cpp
index 29a24d0a8b69e7a9e5d98b600b8b50745b46a8b4..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 += 20;
-#else
         sizeTotal.y += 10;
-#endif
     }
     else
     {
-#ifdef __WXMAC__
-        sizeTotal.x += 32;   // This is OK for Aqua.
-#else
         sizeTotal.x += 10;
-#endif
         sizeTotal.y += 40;
     }