From: Robert Roebling Date: Wed, 25 Apr 2007 08:40:42 +0000 (+0000) Subject: Added mini docs for wxChoicebook X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/23714996e9743e5d590513dfc9067fefb2baa658 Added mini docs for wxChoicebook git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/choicebevt.inc b/docs/latex/wx/choicebevt.inc new file mode 100644 index 0000000000..ad9c344143 --- /dev/null +++ b/docs/latex/wx/choicebevt.inc @@ -0,0 +1,13 @@ +\wxheading{Event handling} + +To process input from a listbook control, use the following event handler macros to direct input to member +functions that take a wxChoicebookEvent argument. + +\twocolwidtha{7cm} +\begin{twocollist}\itemsep=0pt +\twocolitem{{\bf EVT\_CHOICEBOOK\_PAGE\_CHANGED(id, func)}}{The page selection was changed. Processes a +wxEVT\_COMMAND\_LISTBOOK\_PAGE\_CHANGED event.} +\twocolitem{{\bf EVT\_CHOICEBOOK\_PAGE\_CHANGING(id, func)}}{The page selection is about to be changed. +Processes a wxEVT\_COMMAND\_CHOICEBOOK\_PAGE\_CHANGING event. This event can be \helpref{vetoed}{wxnotifyeventveto}.} +\end{twocollist} + diff --git a/docs/latex/wx/choicebk.tex b/docs/latex/wx/choicebk.tex index d2347816ee..99827c7401 100644 --- a/docs/latex/wx/choicebk.tex +++ b/docs/latex/wx/choicebk.tex @@ -51,7 +51,27 @@ it is top).} \end{twocollist} +\input choicebevt.inc + \wxheading{See also} \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.