X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eda40bfc08b7c15d395316768ea662959b5884b9..a9249b2eb2a40d8c71f828669045c4ddaa8dc5ff:/docs/latex/wx/text.tex?ds=sidebyside diff --git a/docs/latex/wx/text.tex b/docs/latex/wx/text.tex index 92cde1a233..befde50163 100644 --- a/docs/latex/wx/text.tex +++ b/docs/latex/wx/text.tex @@ -389,7 +389,7 @@ Copies the selected text to the clipboard and removes the selection. Resets the internal `modified' flag as if the current edits had been saved. -\membersection{wxTextCtrl::GetDefaultStyle}{wxtextctrlgetdefaultstyle} +\membersection{wxTextCtrl::GetDefaultStyle}\label{wxtextctrlgetdefaultstyle} \constfunc{const wxTextAttr\& }{GetDefaultStyle}{\void} @@ -681,6 +681,10 @@ If either of the font, foreground, or background colour is not set in\rtfsp the previous default style didn't set them neither, the global font or colours of the text control itself are used as fall back. +However if the {\it style} parameter is the default wxTextAttr, then the +default style is just reset (instead of being combined with the new style which +wouldn't change it at all). + \wxheading{Parameters} \docparam{style}{The style for the new text.}