From: Mattia Barbon Date: Sun, 8 Jun 2003 18:20:24 +0000 (+0000) Subject: wxMessageDialog and ::wxMessageBox don't support wxCENTRE: remove X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dc0cecbcc9fcac18e47e8a6a55076af7519743b5 wxMessageDialog and ::wxMessageBox don't support wxCENTRE: remove it from documentation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index 9af09d9c0a..6df137cc7f 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -1824,7 +1824,7 @@ See also \helpref{wxBusyCursor}{wxbusycursor}. \membersection{::wxMessageBox}\label{wxmessagebox} -\func{int}{wxMessageBox}{\param{const wxString\& }{message}, \param{const wxString\& }{caption = ``Message"}, \param{int}{ style = wxOK \pipe wxCENTRE},\\ +\func{int}{wxMessageBox}{\param{const wxString\& }{message}, \param{const wxString\& }{caption = ``Message"}, \param{int}{ style = wxOK},\\ \param{wxWindow *}{parent = NULL}, \param{int}{ x = -1}, \param{int}{ y = -1}} General purpose message dialog. {\it style} may be a bit list of the @@ -1836,7 +1836,6 @@ wxCANCEL.} \twocolitem{wxCANCEL}{Puts a Cancel button on the message box. May be combined with wxYES\_NO or wxOK.} \twocolitem{wxOK}{Puts an Ok button on the message box. May be combined with wxCANCEL.} -\twocolitem{wxCENTRE}{Centres the text.} \twocolitem{wxICON\_EXCLAMATION}{Displays an exclamation mark symbol.} \twocolitem{wxICON\_HAND}{Displays an error symbol.} \twocolitem{wxICON\_ERROR}{Displays an error symbol - the same as wxICON\_HAND.} @@ -1860,11 +1859,6 @@ For example: {\it message} may contain newline characters, in which case the message will be split into separate lines, to cater for large messages. -Under Windows, the native MessageBox function is used unless wxCENTRE -is specified in the style, in which case a generic function is used. -This is because the native MessageBox function cannot centre text. -The symbols are not shown when the generic function is used. - \wxheading{Include files} diff --git a/docs/latex/wx/msgdlg.tex b/docs/latex/wx/msgdlg.tex index 497758e37a..5daf9c1bc5 100644 --- a/docs/latex/wx/msgdlg.tex +++ b/docs/latex/wx/msgdlg.tex @@ -23,7 +23,7 @@ with a choice of OK, Yes, No and Cancel buttons. \membersection{wxMessageDialog::wxMessageDialog}\label{wxmessagedialogconstr} \func{}{wxMessageDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message},\rtfsp -\param{const wxString\& }{caption = "Message box"}, \param{long }{style = wxOK \pipe wxCANCEL \pipe wxCENTRE},\rtfsp +\param{const wxString\& }{caption = "Message box"}, \param{long }{style = wxOK \pipe wxCANCEL},\rtfsp \param{const wxPoint\& }{pos = wxDefaultPosition}} Constructor. Use \helpref{wxMessageDialog::ShowModal}{wxmessagedialogshowmodal} to show the dialog. @@ -45,7 +45,6 @@ Constructor. Use \helpref{wxMessageDialog::ShowModal}{wxmessagedialogshowmodal} \twocolitem{{\bf wxYES\_NO}}{Show Yes and No buttons.} \twocolitem{{\bf wxYES\_DEFAULT}}{Used with {\bf wxYES\_NO}, makes {\bf Yes} button the default - which is the default behaviour.} \twocolitem{{\bf wxNO\_DEFAULT}}{Used with {\bf wxYES\_NO}, makes {\bf No} button the default.} -\twocolitem{{\bf wxCENTRE}}{Centre the message. Not Windows.} \twocolitem{{\bf wxICON\_EXCLAMATION}}{Shows an exclamation mark icon.} \twocolitem{{\bf wxICON\_HAND}}{Shows an error icon.} \twocolitem{{\bf wxICON\_ERROR}}{Shows an error icon - the same as wxICON\_HAND.}