From 8760e4fb706f5b9dbfe5917e533b3e717cfe63f6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 12 Jun 2016 19:20:53 +0200 Subject: [PATCH] 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. --- interface/wx/textctrl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/interface/wx/textctrl.h b/interface/wx/textctrl.h index 574b8fda49..4af72681fd 100644 --- a/interface/wx/textctrl.h +++ b/interface/wx/textctrl.h @@ -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.