]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/nbkbase.cpp
Added missing header and missing logic. :)
[wxWidgets.git] / src / common / nbkbase.cpp
index 29a24d0a8b69e7a9e5d98b600b8b50745b46a8b4..ccc78efd571a3f26b6bb13e006704ebde51a7ffd 100644 (file)
@@ -98,7 +98,7 @@ wxSize wxNotebookBase::CalcSizeFromPage(const wxSize& sizePage)
     {
         sizeTotal.x += 90;
 #ifdef __WXMAC__
-        sizeTotal.y += 20;
+        sizeTotal.y += 28;
 #else
         sizeTotal.y += 10;
 #endif
@@ -106,11 +106,12 @@ wxSize wxNotebookBase::CalcSizeFromPage(const wxSize& sizePage)
     else
     {
 #ifdef __WXMAC__
-        sizeTotal.x += 32;   // This is OK for Aqua.
+        sizeTotal.x += 34;   // This is OK for Aqua.
+        sizeTotal.y += 46;
 #else
         sizeTotal.x += 10;
-#endif
         sizeTotal.y += 40;
+#endif
     }
 
     return sizeTotal;