]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/choicebk.tex
Don't use const bool.
[wxWidgets.git] / docs / latex / wx / choicebk.tex
index 3a86aa08b5d25c2364abec1b796a271db0a8ba15..99827c74012f196c873ff6ee788b9d388979c7a7 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}\\
@@ -46,7 +51,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.