X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..2cd31b57b27edc34515b11f4023201d96fec0b37:/docs/latex/wx/tab.tex

diff --git a/docs/latex/wx/tab.tex b/docs/latex/wx/tab.tex
index 27335c3678..104546afa1 100644
--- a/docs/latex/wx/tab.tex
+++ b/docs/latex/wx/tab.tex
@@ -2,12 +2,19 @@
 
 A dialog suitable for handling tabs.
 
+Please note that the preferred class for programming tabbed windows is \helpref{wxNotebook}{wxnotebook}.
+This class is retained for backward compatibility.
+
 \wxheading{Derived from}
 
 \helpref{wxDialog}{wxdialog}\\
 \helpref{wxEvtHandler}{wxevthandler}\\
 \helpref{wxObject}{wxobject}
 
+\wxheading{Include files}
+
+<wx/tab.h>
+
 \wxheading{See also}
 
 \helpref{Tab classes overview}{wxtaboverview}
@@ -16,9 +23,9 @@ A dialog suitable for handling tabs.
 
 \membersection{wxTabbedDialog::wxTabbedDialog}
 
-\func{}{wxTabbedDialog}{\param{wxWindow *}{parent}, \param{const wxWindowID }{id},
+\func{}{wxTabbedDialog}{\param{wxWindow *}{parent}, \param{wxWindowID }{id},
  \param{const wxString\& }{title}, \param{const wxPoint\&}{ pos}, \param{const wxSize\&}{ size},
- \param{const long}{ style=wxDEFAULT\_DIALOG\_STYLE}, \param{const wxString\& }{name="dialogBox"}}
+ \param{long}{ style=wxDEFAULT\_DIALOG\_STYLE}, \param{const wxString\& }{name="dialogBox"}}
 
 Constructor.
 
@@ -46,12 +53,19 @@ Returns the tab view associated with the dialog box.
 
 A panel suitable for handling tabs.
 
+Please note that the preferred class for programming tabbed windows is \helpref{wxNotebook}{wxnotebook}.
+This class is retained for backward compatibility.
+
 \wxheading{Derived from}
 
 \helpref{wxPanel}{wxpanel}\\
 \helpref{wxEvtHandler}{wxevthandler}\\
 \helpref{wxObject}{wxobject}
 
+\wxheading{Include files}
+
+<wx/tab.h>
+
 \wxheading{See also}
 
 \helpref{Tab classes overview}{wxtaboverview}
@@ -60,9 +74,9 @@ A panel suitable for handling tabs.
 
 \membersection{wxTabbedPanel::wxTabbedPanel}
 
-\func{}{wxTabbedPanel}{\param{wxWindow *}{parent}, \param{const wxWindowID}{ id},
+\func{}{wxTabbedPanel}{\param{wxWindow *}{parent}, \param{wxWindowID}{ id},
  \param{const wxPoint\&}{ pos}, \param{const wxSize\&}{ size},
- \param{const long}{ style=0}, \param{const wxString\& }{name="panel"}}
+ \param{long}{ style=0}, \param{const wxString\& }{name="panel"}}
 
 Constructor.
 
@@ -82,10 +96,17 @@ Returns the tab view associated with the panel.
 
 You will rarely need to use this class directly.
 
+Please note that the preferred class for programming tabbed windows is \helpref{wxNotebook}{wxnotebook}.
+This class is retained for backward compatibility.
+
 \wxheading{Derived from}
 
 \helpref{wxObject}{wxobject}
 
+\wxheading{Include files}
+
+<wx/tab.h>
+
 \wxheading{See also}
 
 \overview{Tab classes overview}{wxtaboverview}
@@ -223,10 +244,17 @@ Sets the width and height for this tab.
 
 Responsible for drawing tabs onto a window, and dealing with input.
 
+Please note that the preferred class for programming tabbed windows is \helpref{wxNotebook}{wxnotebook}.
+This class is retained for backward compatibility.
+
 \wxheading{Derived from}
 
 \helpref{wxObject}{wxobject}
 
+\wxheading{Include files}
+
+<wx/tab.h>
+
 \wxheading{See also}
 
 \helpref{wxTabView overview}{wxtabviewoverview}, \helpref{wxPanelTabView}{wxpaneltabview}
@@ -439,9 +467,9 @@ Returns the window for the view.
 Creates a new tab control. By default, this returns a wxTabControl object, but the application may wish
 to define a derived class, in which case the tab view should be subclassed and this function overridden.
 
-\membersection{wxTabView::Layout}
+\membersection{wxTabView::LayoutTabs}
 
-\func{void}{Layout}{\void}
+\func{void}{LayoutTabs}{\void}
 
 Recalculates the positions of the tabs, and adjusts the layer of the selected tab if necessary.
 
