]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/choicebk.tex
Use const
[wxWidgets.git] / docs / latex / wx / choicebk.tex
index 3a86aa08b5d25c2364abec1b796a271db0a8ba15..dc5b7f6df71535c1ec52c89e3e1ff620ff874b8b 100644 (file)
@@ -6,7 +6,7 @@
 %% Created:     15.09.04
 %% RCS-ID:      $Id$
 %% Copyright:   (c) Vadim Zeitlin, Wlodzimierz Skiba
 %% Created:     15.09.04
 %% RCS-ID:      $Id$
 %% Copyright:   (c) Vadim Zeitlin, Wlodzimierz Skiba
-%% License:     wxWidgets license
+%% License:     wxWindows license
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \section{\class{wxChoicebook}}\label{wxchoicebook}
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \section{\class{wxChoicebook}}\label{wxchoicebook}
@@ -20,8 +20,13 @@ identical to wxNotebook (except for the features clearly related to tabs
 only), so please refer to that class documentation for now. You can also
 use the \helpref{notebook sample}{samplenotebook} to see wxChoicebook in action.
 
 only), so please refer to that class documentation for now. You can also
 use the \helpref{notebook sample}{samplenotebook} to see wxChoicebook in action.
 
+wxChoicebook allows the use of wxBookCtrl::GetControlSizer, allowing a program
+to add other controls next to the choice control. This is particularly useful
+when screen space is restricted, as it often is when wxChoicebook is being employed.
+
 \wxheading{Derived from}
 
 \wxheading{Derived from}
 
+wxBookCtrlBase (see \helpref{wxBookCtrl overview}{wxbookctrloverview})\\
 \helpref{wxControl}{wxcontrol}\\
 \helpref{wxWindow}{wxwindow}\\
 \helpref{wxEvtHandler}{wxevthandler}\\
 \helpref{wxControl}{wxcontrol}\\
 \helpref{wxWindow}{wxwindow}\\
 \helpref{wxEvtHandler}{wxevthandler}\\
@@ -31,6 +36,10 @@ use the \helpref{notebook sample}{samplenotebook} to see wxChoicebook in action.
 
 <wx/choicebk.h>
 
 
 <wx/choicebk.h>
 
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
 \wxheading{Window styles}
 
 \twocolwidtha{5cm}
 \wxheading{Window styles}
 
 \twocolwidtha{5cm}
@@ -46,7 +55,27 @@ it is top).}
 
 \end{twocollist}
 
 
 \end{twocollist}
 
+\input choicebevt.inc
+
 \wxheading{See also}
 
 \wxheading{See also}
 
-\helpref{wxNotebook}{wxnotebook}, \helpref{notebook sample}{samplenotebook}
+\helpref{wxBookCtrl}{wxbookctrloverview}, \helpref{wxNotebook}{wxnotebook}, \helpref{notebook sample}{samplenotebook}
+
+\latexignore{\rtfignore{\wxheading{Members}}}
+
+\membersection{wxChoicebook::wxChoicebook}\label{wxchoicebookctor}
+
+\func{}{wxChoicebook}{\void}
+
+Default constructor.
+
+\func{}{wxChoicebook}{\param{wxWindow*}{ parent}, \param{wxWindowID }{id}, \param{const wxPoint\&}{ pos = wxDefaultPosition},
+ \param{const wxSize\&}{ size = wxDefaultSize}, \param{long}{ style = 0}, \param{const wxString\& }{name = wxEmptyStr}}
+
+Constructs a choicebook control.
+
+\membersection{wxChoicebook::GetChoiceCtrl}\label{wxchoicebookgetchoicectrl}
+
+\constfunc{wxChoice *}{GetChoiceCtrl}{\void}
 
 
+Returns the \helpref{wxChoice}{wxchoice} associated with the control.