Single-line text controls are used to edit a single line of text. Multi-line text controls edit multiple lines.

A single-line text control can be created simply as

new wxTextCtrl(parent, id);

To create a multi-line text control, you need the form

new wxTextCtrl(parent, id, text, position, size, wxTE_MULTILINE);