X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa8a815b84a37117a0740543faac7757b7026a3a..2e25e7b7629b9c362d1fc689b536032a35441b8c:/docs/latex/wx/text.tex diff --git a/docs/latex/wx/text.tex b/docs/latex/wx/text.tex index 0006aa85b7..cc05b73006 100644 --- a/docs/latex/wx/text.tex +++ b/docs/latex/wx/text.tex @@ -114,6 +114,9 @@ under Win32 only and requires wxTE\_RICH.} doesn't show the selection when it doesn't have focus - use this style to force it to always show it. It doesn't do anything under other platforms.} \twocolitem{\windowstyle{wxHSCROLL}}{A horizontal scrollbar will be created. No effect under GTK+.} +\twocolitem{\windowstyle{wxTE\_DONTWRAP}}{Same as {\tt wxHSCROLL} style.} +\twocolitem{\windowstyle{wxTE\_LINEWRAP}}{Wrap the lines too long to be shown entirely at any position (wxUniv only currently)} +\twocolitem{\windowstyle{wxTE\_WORDWRAP}}{Wrap the lines too long to be shown entirely at word boundaries only (wxUniv only currently)} \end{twocollist} See also \helpref{window styles overview}{windowstyles} and @@ -282,7 +285,8 @@ Constructor, creating and showing a text control. \wxheading{Remarks} -The horizontal scrollbar ({\bf wxTE\_HSCROLL} style flag) will only be created for multi-line text controls. +The horizontal scrollbar ({\bf wxHSCROLL} style flag) will only be created +for multi-line text controls. Without a horizontal scrollbar, text lines that don't fit in the control's size will be wrapped (but no newline character is inserted). Single line controls don't have a horizontal scrollbar, the text is automatically scrolled @@ -533,6 +537,15 @@ Gets the contents of the control. Notice that for a multiline text control, the lines will be separated by (Unix-style) $\backslash$n characters, even under Windows where they are separated by a $\backslash$r$\backslash$n sequence in the native control. +\membersection{wxTextCtrl::IsEditable}\label{wxtextctrliseditable} + +\constfunc{bool}{IsEditable}{\void} + +Returns {\tt TRUE} if the controls contents may be edited by user (note that it +always can be changed by the program), i.e. if the control hasn't been put in +read-only mode by a previous call to +\helpref{SetEditable}{wxtextctrlseteditable}. + \membersection{wxTextCtrl::IsModified}\label{wxtextctrlismodified} \constfunc{bool}{IsModified}{\void} @@ -726,6 +739,10 @@ Makes the text item editable or read-only, overriding the {\bf wxTE\_READONLY} f \docparam{editable}{If {\tt TRUE}, the control is editable. If {\tt FALSE}, the control is read-only.} +\wxheading{See also} + +\helpref{IsEditable}{wxtextctrliseditable} + \membersection{wxTextCtrl::SetInsertionPoint}\label{wxtextctrlsetinsertionpoint} \func{virtual void}{SetInsertionPoint}{\param{long}{ pos}}