X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dceb1c097c8c24b398f48b482220c358bc7b4db4..e31f4da5f0e888e3bae947061be02a427c570372:/docs/latex/wx/stdbtnsz.tex diff --git a/docs/latex/wx/stdbtnsz.tex b/docs/latex/wx/stdbtnsz.tex index 63e0ae5af6..be6fcd54e8 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,20 +41,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.