Improve documentation of CreateTextSizer() widthMax argument

Also fix the version since which it is available.

See 73f6f622f9
This commit is contained in:
Vadim Zeitlin 2016-12-01 14:54:08 +01:00
parent 73f6f622f9
commit a5529fc16c

View File

@ -294,9 +294,14 @@ public:
Splits text up at newlines and places the lines into wxStaticText
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)
*/