X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/717a57c2fabb054c8f00dc5dae70df1d03cfe532..4179da8a81ee3110e2a8b5615e1a4f8c8b75a16b:/docs/latex/wx/stattext.tex diff --git a/docs/latex/wx/stattext.tex b/docs/latex/wx/stattext.tex index aea19213d2..8f11d0bd7c 100644 --- a/docs/latex/wx/stattext.tex +++ b/docs/latex/wx/stattext.tex @@ -19,7 +19,7 @@ A static text control displays one or more lines of read-only text. \begin{twocollist}\itemsep=0pt \twocolitem{\windowstyle{wxALIGN\_LEFT}}{Align the text to the left} \twocolitem{\windowstyle{wxALIGN\_RIGHT}}{Align the text to the right} -\twocolitem{\windowstyle{wxALIGN\_CENTRE}}{Center the text (horisontally)} +\twocolitem{\windowstyle{wxALIGN\_CENTRE}}{Center the text (horizontally)} \twocolitem{\windowstyle{wxST\_NO\_AUTORESIZE}}{By default, the control will adjust its size to exactly fit to the size of the text when \helpref{SetLabel}{wxstatictextsetlabel} is called. If this style flag is @@ -43,7 +43,7 @@ See also \helpref{window styles overview}{windowstyles}. Default constructor. \func{}{wxStaticText}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxString\& }{label = ``"}, \param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp +\param{const wxString\& }{label}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp \param{long}{ style = 0}, \param{const wxString\& }{name = ``staticText"}} Constructor, creating and showing a text control. @@ -71,7 +71,7 @@ Constructor, creating and showing a text control. \membersection{wxStaticText::Create}\label{wxstatictextcreate} \func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id},\rtfsp -\param{const wxString\& }{label = ``"}, \param{const wxPoint\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp +\param{const wxString\& }{label}, \param{const wxPoint\& }{pos = wxDefaultPosition}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp \param{long}{ style = 0}, \param{const wxString\& }{name = ``staticText"}} Creation function, for two-step construction. For details see \helpref{wxStaticText::wxStaticText}{wxstatictextconstr}. @@ -93,4 +93,3 @@ label unless the control has wxST\_NO\_AUTORESIZE flag. \docparam{label}{The new label to set. It may contain newline characters.} -