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