\section{\class{wxPanelTabView}}\label{wxpaneltabview} The wxPanelTabView is responsible for input and output on a wxPanel. \wxheading{Derived from} \helpref{wxTabView}{wxtabview}\\ \helpref{wxObject}{wxobject} \wxheading{Include files} \wxheading{See also} \helpref{wxTabView overview}{wxtabviewoverview}, \helpref{wxTabView}{wxtabview} \latexignore{\rtfignore{\wxheading{Members}}} \membersection{wxPanelTabView::wxPanelTabView}\label{wxpaneltabviewconstr} \func{void}{wxPanelTabView}{\param{wxPanel *}{panel}, \param{long }{style = wxTAB\_STYLE\_DRAW\_BOX \pipe wxTAB\_STYLE\_COLOUR\_INTERIOR}} Constructor. {\it panel} should be a wxTabbedPanel or wxTabbedDialog: the type will be checked by the view at run time. {\it style} may be a bit list of the following: \begin{twocollist}\itemsep=0pt \twocolitem{wxTAB\_STYLE\_DRAW\_BOX}{Draw a box around the view area. Most commonly used for dialogs.} \twocolitem{wxTAB\_STYLE\_COLOUR\_INTERIOR}{Draw tab backgrounds in the specified colour. Omitting this style will ensure that the tab background matches the dialog background.} \end{twocollist} \membersection{wxPanelTabView::\destruct{wxPanelTabView}} \func{void}{\destruct{wxPanelTabView}}{\void} Destructor. This destructor deletes all the panels associated with the view. If you do not wish this to happen, call ClearWindows with argument false before the view is likely to be destroyed. This will clear the list of windows, without deleting them. \membersection{wxPanelTabView::AddTabWindow}\label{wxpaneltabviewaddtabwindow} \func{void}{AddTabPanel}{\param{int}{ id}, \param{wxWindow *}{window}} Adds a window to the view. The window is associated with the tab identifier, and will be shown or hidden as the tab is selected or deselected. \membersection{wxPanelTabView::ClearWindows} \func{void}{ClearWindows}{\param{bool}{ deleteWindows = true}} Removes the child windows from the view. If {\it deleteWindows} is true, the windows will be deleted. \membersection{wxPanelTabView::GetCurrentWindow} \func{wxPanel *}{GetCurrentWindow}{\void} Returns the child window currently being displayed on the tabbed panel or dialog box. \membersection{wxPanelTabView::GetTabWindow} \func{wxWindow *}{GetTabWindow}{\param{int}{ id}} Returns the window associated with the tab identifier. \membersection{wxPanelTabView::ShowWindowForTab} \func{void}{ShowWindowForTab}{\param{int}{ id}} Shows the child window corresponding to the tab identifier, and hides the previously shown window.