X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dceb1c097c8c24b398f48b482220c358bc7b4db4..9804d5404a9607cda3d08ec8225f52f78b78bc72:/docs/latex/wx/stdbtnsz.tex diff --git a/docs/latex/wx/stdbtnsz.tex b/docs/latex/wx/stdbtnsz.tex index 63e0ae5af6..065acd3485 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 @@ -27,7 +27,9 @@ the wxID\_NO button will be renamed to "Don't Save" in accordance with the Mac O \wxheading{See also} -\helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview} +\helpref{wxSizer}{wxsizer}, \helpref{Sizer overview}{sizeroverview}, \helpref{wxDialog::CreateButtonSizer}{wxdialogcreatebuttonsizer} + +\membersection{wxStdDialogButtonSizer::wxStdDialogButtonSizer}\label{wxstddialogbuttonsizerctor} \func{}{wxStdDialogButtonSizer}{\void} @@ -39,7 +41,7 @@ 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 @@ -50,9 +52,9 @@ Adds a button to the wxStdDialogButtonSizer. The button must have one of the fol \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.