]> git.saurik.com Git - wxWidgets.git/commitdiff
Doc tweaks
authorJulian Smart <julian@anthemion.co.uk>
Fri, 11 Feb 2005 21:18:42 +0000 (21:18 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 11 Feb 2005 21:18:42 +0000 (21:18 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/dialog.tex
docs/latex/wx/stdbtnsz.tex

index 2b88b05145a2be591e866cddfeb2c9bcf228738c..7423e38860b413b8153c231baaebbd6547b6ad7d 100644 (file)
@@ -163,6 +163,26 @@ Centres the dialog box on the display.
 Used for two-step dialog box construction. See \helpref{wxDialog::wxDialog}{wxdialogctor}\rtfsp
 for details.
 
+\membersection{wxDialog::CreateButtonSizer}\label{wxdialogcreatebuttonsizer}
+
+\func{wxSizer*}{CreateButtonSizer}{\param{long}{ flags}}
+
+Creates a sizer with standard buttons. {\it flags} is a bit list
+of the following flags: wxOK, wxCANCEL, wxYES, wxNO, wxHELP, wxNO\_DEFAULT.
+
+The sizer lays out the buttons in a manner appropriate to the platform.
+
+This function simply calls \helpref{CreateStdDialogButtonSizer}{wxdialogcreatestddialogbuttonsizer}.
+
+\membersection{wxDialog::CreateStdDialogButtonSizer}\label{wxdialogcreatestddialogbuttonsizer}
+
+\func{wxStdDialogButtonSizer*}{CreateStdDialogButtonSizer}{\param{long}{ flags}}
+
+Creates a \helpref{wxStdDialogButtonSizer}{wxstddialogbuttonsizer} with standard buttons. {\it flags} is a bit list
+of the following flags: wxOK, wxCANCEL, wxYES, wxNO, wxHELP, wxNO\_DEFAULT.
+
+The sizer lays out the buttons in a manner appropriate to the platform.
+
 \membersection{wxDialog::EndModal}\label{wxdialogendmodal}
 
 \func{void}{EndModal}{\param{int }{retCode}}
index 63e0ae5af6ec88b938a08e4ad9f91a12f1e0f09c..256d08f6a8ac008e6638b182dd1c114b2f3b957a 100644 (file)
@@ -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