Update documentation regarding styles of wxTextCtrl

Add notes that some styles are available also on wxOSX. Mention that
wrapping is available only for multi-line controls.
This commit is contained in:
Artur Wieczorek
2017-08-03 21:30:40 +02:00
parent 111ff4e618
commit 20b53502d9

View File

@@ -981,23 +981,23 @@ public:
@style{wxTE_LEFT}
The text in the control will be left-justified (default).
@style{wxTE_CENTRE}
The text in the control will be centered (currently wxMSW and
wxGTK2 only).
The text in the control will be centered (wxMSW, wxGTK, wxOSX).
@style{wxTE_RIGHT}
The text in the control will be right-justified (currently wxMSW
and wxGTK2 only).
The text in the control will be right-justified (wxMSW, wxGTK,
wxOSX).
@style{wxTE_DONTWRAP}
Same as wxHSCROLL style: don't wrap at all, show horizontal
scrollbar instead.
@style{wxTE_CHARWRAP}
Wrap the lines too long to be shown entirely at any position
(wxUniv and wxGTK2 only).
For multiline controls only: wrap the lines too long to be shown
entirely at any position (wxUniv and wxGTK).
@style{wxTE_WORDWRAP}
Wrap the lines too long to be shown entirely at word boundaries
(wxUniv and wxGTK2 only).
For multiline controls only: wrap the lines too long to be shown
entirely at word boundaries (wxUniv, wxMSW, wxGTK, wxOSX).
@style{wxTE_BESTWRAP}
Wrap the lines at word boundaries or at any other character if
there are words longer than the window width (this is the default).
For multiline controls only: wrap the lines at word boundaries
or at any other character if there are words longer than the window
width (this is the default).
@style{wxTE_CAPITALIZE}
On PocketPC and Smartphone, causes the first letter to be
capitalized.