wxWidgets wxRichTextCtrl horizontal text wrapping
I have a wxRichTex开发者_如何转开发tCtrl 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
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
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.
精彩评论