-\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},
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.
// 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;