how to implement a wxStyledTextCtrl text box multiline and add it to my base app ?
thx you anyway
wxStyledTextCtrl
maybe you could have a look at the wx\contrib\samples\stc directory where you can find a simple application using wxStyledTextCtrl.
You don't create any text control widget, wxStyledTextCtrl is the widget itself.
Derive a class from wxStyledTextCtrl to set specific options/behaviours and create an object of this type where you want your text editor to be.
Add the event handlers you need.
That's all!
You don't create any text control widget, wxStyledTextCtrl is the widget itself.
Derive a class from wxStyledTextCtrl to set specific options/behaviours and create an object of this type where you want your text editor to be.
Add the event handlers you need.
That's all!