Clarify that wxTextCtrl style apply to user-entered text too

The wording was unclear and seemed to imply that the style was only taken into
account for the text added programmatically, which wasn't the intention.

See #17523.
This commit is contained in:
Vadim Zeitlin 2016-06-12 19:20:53 +02:00
parent e4473fa193
commit 8760e4fb70

View File

@ -1476,7 +1476,10 @@ public:
/**
Changes the default style to use for the new text which is going to be
added to the control using WriteText() or AppendText().
added to the control.
This applies both to the text added programmatically using WriteText()
or AppendText() and to the text entered by the user interactively.
If either of the font, foreground, or background colour is not set in
@a style, the values of the previous default style are used for them.