]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/ttab.tex
On wxMac don't call Refresh from FullPaint as that is the biggest
[wxWidgets.git] / docs / latex / wx / ttab.tex
index cca81808e8cd0d9e6227ac3055072e6f64da38c9..b3b4112c82e2329664af130d7bae210d67c6c5aa 100644 (file)
@@ -1,4 +1,4 @@
-\section{Tab classes overview}\label{wxtaboverview}
+\section{wxTab classes overview}\label{wxtaboverview}
 
 Classes: \helpref{wxTabView}{wxtabview}, \helpref{wxPanelTabView}{wxpaneltabview},
  \helpref{wxTabbedPanel}{wxtabbedpanel}, \helpref{wxTabbedDialog}{wxtabbeddialog},
@@ -112,7 +112,7 @@ void MyDialog::Init(void)
   // Calculate the tab width for 4 tabs, based on a view width of 326 and
   // the current horizontal spacing. Adjust the view width to exactly fit
   // the tabs.
-  view->CalculateTabWidth(4, TRUE);
+  view->CalculateTabWidth(4, true);
 
   if (!view->AddTab(TEST_TAB_CAT,        wxString("Cat")))
     return;