Improve documentation of CreateTextSizer() widthMax argument
Also fix the version since which it is available.
See 73f6f622f9
This commit is contained in:
parent
73f6f622f9
commit
a5529fc16c
@ -294,9 +294,14 @@ public:
|
|||||||
Splits text up at newlines and places the lines into wxStaticText
|
Splits text up at newlines and places the lines into wxStaticText
|
||||||
objects with the specified maximum width in a vertical wxBoxSizer.
|
objects with the specified maximum width in a vertical wxBoxSizer.
|
||||||
|
|
||||||
@a widthMax is available since 3.1.0
|
If @a widthMax has its default value of -1, only explicit new line
|
||||||
|
characters in @a message are taken into account. Otherwise, lines are
|
||||||
|
broken either after a new line or wrapped, at word boundary, if their
|
||||||
|
width would become bigger than the specified maximal width.
|
||||||
|
|
||||||
@param widthMax Specifies the text's maximum width.
|
@param widthMax Specifies the text's maximum width (this argument is
|
||||||
|
available since version 3.1.1, previous versions always behaved as if
|
||||||
|
the maximal width of -1 was specified).
|
||||||
|
|
||||||
@see wxStaticText::Wrap(int width)
|
@see wxStaticText::Wrap(int width)
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user