If your compiler does not support derivation from {\bf streambuf} and gives a compile error, define the symbol {\bf NO\_TEXT\_WINDOW\_STREAM} in the
wxTextCtrl header file.
+\wxheading{Event handling}
+
+To process input from a text control, use these event handler macros to direct input to member
+functions that take a \helpref{wxCommandEvent}{wxcommandevent} argument.
+
+\twocolwidtha{7cm}%
+\begin{twocollist}\itemsep=0pt
+\twocolitem{{\bf EVT\_TEXT(id, func)}}{Respond to a wxEVT\_COMMAND\_TEXT\_UPDATED event,
+generated when the text changes.}
+\twocolitem{{\bf EVT\_TEXT\_ENTER(id, func)}}{Respond to a wxEVT\_COMMAND\_TEXT\_ENTER event,
+generated when enter is pressed in a single-line text control.}
+\end{twocollist}%
+
%\wxheading{See also}
%
%\helpref{wxRichTextCtrl}{wxrichtextctrl}
Default constructor.
-\func{}{wxTextCtrl}{\param{wxWindow* }{parent}, \param{const wxWindowID}{ id},\rtfsp
+\func{}{wxTextCtrl}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id},\rtfsp
\param{const wxString\& }{value = ``"}, \param{const wxPosition\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp
-\param{const long}{ style = 0}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``text"}}
+\param{long}{ style = 0}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``text"}}
Constructor, creating and showing a text control.
\membersection{wxTextCtrl::Create}\label{wxtextctrlcreate}
-\func{bool}{Create}{\param{wxWindow* }{parent}, \param{const wxWindowID}{ id},\rtfsp
+\func{bool}{Create}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id},\rtfsp
\param{const wxString\& }{value = ``"}, \param{const wxPosition\& }{pos}, \param{const wxSize\& }{size = wxDefaultSize},\rtfsp
-\param{const long}{ style = 0}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``text"}}
+\param{long}{ style = 0}, \param{const wxValidator\& }{validator}, \param{const wxString\& }{name = ``text"}}
Creates the text control for two-step construction. Derived classes
should call or replace this function. See \helpref{wxTextCtrl::wxTextCtrl}{wxtextctrlconstr}\rtfsp
\membersection{wxTextCtrl::GetLineText}\label{wxtextctrlgetlinetext}
-\constfunc{wxString}{GetLineText}{\param{const long}{ lineNo}}
+\constfunc{wxString}{GetLineText}{\param{long}{ lineNo}}
Returns the contents of a given line in the text control.
\membersection{wxTextCtrl::PositionToXY}\label{wxtextctrlpositiontoxy}
-\constfunc{long}{PositionToXY}{\param{const long }{pos}, \param{long *}{x}, \param{long *}{y}}
+\constfunc{long}{PositionToXY}{\param{long }{pos}, \param{long *}{x}, \param{long *}{y}}
Converts given character and line position to a position.
\membersection{wxTextCtrl::Remove}\label{wxtextctrlremove}
-\func{virtual void}{Remove}{\param{const long}{ from}, \param{const long}{ to}}
+\func{virtual void}{Remove}{\param{long}{ from}, \param{long}{ to}}
Removes the text between the two positions.
\membersection{wxTextCtrl::Replace}\label{wxtextctrlreplace}
-\func{virtual void}{Replace}{\param{const long}{ from}, \param{const long}{ to}, \param{const wxString\& }{value}}
+\func{virtual void}{Replace}{\param{long}{ from}, \param{long}{ to}, \param{const wxString\& }{value}}
Replaces the text between two positions with the given text.
\membersection{wxTextCtrl::SetInsertionPoint}\label{wxtextctrlsetinsertionpoint}
-\func{virtual void}{SetInsertionPoint}{\param{const long}{ pos}}
+\func{virtual void}{SetInsertionPoint}{\param{long}{ pos}}
Sets the insertion point. Windows only. ??
\membersection{wxTextCtrl::SetSelection}\label{wxtextctrlsetselection}
-\func{virtual void}{SetSelection}{\param{const long}{ from}, \param{const long}{ to}}
+\func{virtual void}{SetSelection}{\param{long}{ from}, \param{long}{ to}}
Selects the text between the two positions.
\membersection{wxTextCtrl::ShowPosition}\label{wxtextctrlshowposition}
-\func{void}{ShowPosition}{\param{const long}{ pos}}
+\func{void}{ShowPosition}{\param{long}{ pos}}
Makes the line containing the given position visible.
\membersection{wxTextCtrl::XYToPosition}\label{wxtextctrlxytoposition}
-\func{long}{XYToPosition}{\param{const long}{ x}, \param{const long}{ y}}
+\func{long}{XYToPosition}{\param{long}{ x}, \param{long}{ y}}
Converts the given character and line position to a position.