X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a05fd8d137bbe26acd4f86adf6d62c55424822c..a9c98d7dd3a089e47a14369dcaf30a5e983079d5:/docs/latex/wx/ttab.tex

diff --git a/docs/latex/wx/ttab.tex b/docs/latex/wx/ttab.tex
index d044e81936..b3b4112c82 100644
--- a/docs/latex/wx/ttab.tex
+++ b/docs/latex/wx/ttab.tex
@@ -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},
@@ -9,6 +9,10 @@ used to switch between panels or other information. Tabs are most
 commonly used in dialog boxes where the number of options is too great
 to fit on one dialog.
 
+{\bf Please note} that the preferred class for programming tabbed windows is \helpref{wxNotebook}{wxnotebook}.
+The old tab classes are retained for backward compatibility and also to implement
+wxNotebook on platforms that don't have native tab controls.
+
 \wxheading{The appearance and behaviour of a wxTabbedDialog}
 
 The following screenshot shows the appearance of the sample tabbed dialog application.
@@ -108,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;
