Apply wxTextCtrl::SetDefaultStyle() to user-entered text in wxGTK

Apply the appropriate style to any text being inserted, not just the text
added by the program. This not only fixes the bug with default style not being
used for the text entered by user, but also makes the code simpler.

Closes #17523.
This commit is contained in:
Andreas Falkenhahn
2016-03-20 15:48:52 +01:00
committed by Vadim Zeitlin
parent 9d137f494a
commit e4473fa193
2 changed files with 19 additions and 35 deletions

View File

@@ -91,6 +91,7 @@ All (GUI):
wxGTK:
- Make wxUIActionSimulator work with GTK+ 3 (Scott Talbert).
- Apply wxTextCtrl::SetDefaultStyle() to user-entered text (Andreas Falkenhahn).
- Implement setting link colours in wxHyperlinkCtrl for GTK+3 (Hanmac).
- Support background colour in wxDataViewCtrl attributes.
- Improve wxSpinCtrl best size calculation.