Reputation: 3639
I have a wxRichTextCtrl which keeps wrapping the lines instead of increase the scrollbar size. How can I disable the line wrapping and make it so the horizontal scrollbar grows.
wxWidgets 2.8.11
Upvotes: 0
Views: 850
Reputation: 795
May be you should try this:
wxTE_DONTWRAP: Same as wxHSCROLL style: don't wrap at all, show horizontal scrollbar instead.
And other styles look at http://docs.wxwidgets.org/trunk/classwx_text_ctrl.html
Upvotes: 1
Reputation: 2454
According to http://docs.wxwidgets.org/trunk/classwx_rich_text_ctrl.html:
wxRE_MULTILINE:
- The control will be multiline (mandatory).
In other words you can't make the wxRichTextCtrl not wrap lines.
Upvotes: 0