X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8795498cd9ec480873e88fccbb63b94be3eddb92..c266eff98c5e44012647f54f38a1e29ecabd8759:/docs/latex/wx/wizard.tex?ds=sidebyside diff --git a/docs/latex/wx/wizard.tex b/docs/latex/wx/wizard.tex index c401b8c5c4..298417376c 100644 --- a/docs/latex/wx/wizard.tex +++ b/docs/latex/wx/wizard.tex @@ -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} @@ -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}