X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dceb1c097c8c24b398f48b482220c358bc7b4db4..c266eff98c5e44012647f54f38a1e29ecabd8759:/docs/latex/wx/stdbtnsz.tex?ds=sidebyside diff --git a/docs/latex/wx/stdbtnsz.tex b/docs/latex/wx/stdbtnsz.tex index 63e0ae5af6..f663a0594d 100644 --- a/docs/latex/wx/stdbtnsz.tex +++ b/docs/latex/wx/stdbtnsz.tex @@ -9,7 +9,7 @@ When there aren't interface guidelines defined for a particular platform or tool to the Windows implementation. To use this class, first add buttons to the sizer by calling AddButton (or SetAffirmativeButton, SetNegativeButton, -or SetCancelButton) and then call Finalise in order to create the actual button layout used. Other than these special +or SetCancelButton) and then call Realize in order to create the actual button layout used. Other than these special operations, this sizer works like any other sizer. If you add a button with wxID\_SAVE, on Mac OS X the button will be renamed to "Save" and @@ -25,9 +25,18 @@ the wxID\_NO button will be renamed to "Don't Save" in accordance with the Mac O +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \wxheading{See also} -\helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview} +\helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview}, \helpref{wxDialog::CreateButtonSizer}{wxdialogcreatebuttonsizer} + + +\latexignore{\rtfignore{\wxheading{Members}}} + +\membersection{wxStdDialogButtonSizer::wxStdDialogButtonSizer}\label{wxstddialogbuttonsizerctor} \func{}{wxStdDialogButtonSizer}{\void} @@ -39,20 +48,21 @@ Constructor for a wxStdDialogButtonSizer. Adds a button to the wxStdDialogButtonSizer. The button must have one of the following identifiers: -\begin{itemize} +\begin{itemize}\itemsep=0pt \item wxID\_OK \item wxID\_YES \item wxID\_SAVE \item wxID\_APPLY +\item wxID\_CLOSE \item wxID\_NO \item wxID\_CANCEL \item wxID\_HELP \item wxID\_CONTEXT\_HELP \end{itemize} -\membersection{wxStdDialogButtonSizer::Finalise}\label{wxstddialogbuttonsizerfinalise} +\membersection{wxStdDialogButtonSizer::Realize}\label{wxstddialogbuttonsizerrealize} -\func{void}{Finalise}{\void} +\func{void}{Realize}{\void} Rearranges the buttons and applies proper spacing between buttons to make them match the platform or toolkit's interface guidelines.