X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/027aa6fa77e5b4643d2296f63d6911beb496c5bc..c266eff98c5e44012647f54f38a1e29ecabd8759:/docs/latex/wx/wizard.tex diff --git a/docs/latex/wx/wizard.tex b/docs/latex/wx/wizard.tex index e222656bba..298417376c 100644 --- a/docs/latex/wx/wizard.tex +++ b/docs/latex/wx/wizard.tex @@ -6,7 +6,7 @@ %% Created: 02.04.00 %% RCS-ID: $Id$ %% Copyright: (c) Vadim Zeitlin -%% License: wxWidgets license +%% License: wxWindows license %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{\class{wxWizard}}\label{wxwizard} @@ -24,12 +24,12 @@ To show a wizard dialog, you must first create an instance of the wxWizard class using either the non-default constructor or a default one followed by call to the \helpref{Create}{wxwizardcreate} function. Then you should add all pages you want the wizard to show and call \helpref{RunWizard}{wxwizardrunwizard}. -Finally, don't forget to call {\tt wizard->Destroy()}. +Finally, don't forget to call {\tt wizard->Destroy()}, otherwise your application will hang on exit due to an undestroyed window. \wxheading{Derived from} \helpref{wxDialog}{wxdialog}\\ -\helpref{wxPanel}{wxpanel}\\ +\helpref{wxTopLevelWindow}{wxtoplevelwindow}\\ \helpref{wxWindow}{wxwindow}\\ \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} @@ -38,6 +38,10 @@ Finally, don't forget to call {\tt wizard->Destroy()}. +\wxheading{Library} + +\helpref{wxAdv}{librarieslist} + \wxheading{Event table macros} To process input from a wizard dialog, use these event handler macros to @@ -157,6 +161,11 @@ This is useful if the decision about which pages to show is taken during run-time, as in this case, the wizard won't be able to get to all pages starting from a single one and you should call {\it Fit} separately for the others. +\membersection{wxWizard::GetBitmap}\label{wxwizardgetbitmap} + +\constfunc{const wxBitmap\&}{GetBitmap}{\void} + +Returns the bitmap used for the wizard. \membersection{wxWizard::GetCurrentPage}\label{wxwizardgetcurrentpage} @@ -181,7 +190,7 @@ by repeatedly applying any page inserted into the sizer. Third, the minimal size specified using \helpref{SetPageSize}{wxwizardsetpagesize} and \helpref{FitToPage}{wxwizardfittopage}. Fourth, the total wizard height may -be increased to accomodate the bitmap height. Fifth and finally, wizards are +be increased to accommodate the bitmap height. Fifth and finally, wizards are never smaller than some built-in minimal size to avoid wizards that are too small. The caller can use \helpref{wxSizer::SetMinSize}{wxsizersetminsize} to enlarge it @@ -241,6 +250,11 @@ Executes the wizard starting from the given page, returning {\tt true} if it was successfully finished or {\tt false} if user cancelled it. The {\it firstPage} can not be {\tt NULL}. +\membersection{wxWizard::SetBitmap}\label{wxwizardsetbitmap} + +\func{void}{SetBitmap}{\param{const wxBitmap\& }{bitmap}} + +Sets the bitmap used for the wizard. \membersection{wxWizard::SetPageSize}\label{wxwizardsetpagesize}