Update. Here is an example from my code: $i_frame->{Ctl_Ops_Meds_Txt} = Wx::TextCtrl->new($i_frame->{Ctl_Pre_Requ_Health_History_Pnl}, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE);
I guess wxTE_WORDWRAP is implied by wxTE_MULTILINE. Secondly you don't normally need to specify the position, size or even ID. If you use sizers properly, position and size should be automatic. Sometimes you need to over-ride this, but it's not a bad first estimate. wxID_ANY or -1 in the ID position will also give you a system assigned id. After that most of the functions respond to the reference returned by the Wx::TextCtrl->new, so you don't often need the actual id. Have you played around with wxGlade? It will generate some sample code for you showing how sizers work. Good luck. Regards Steve On Sat, Jan 19, 2013 at 10:41 PM, Steve Cookson <steveco.1...@gmail.com> wrote: > wxTE_MULTILINE