Change all these to wxTextCtrl. Add the window style wxTE_MULTILINE if you wish to have a multi-line text control.