From: Robin Dunn Date: Tue, 19 Apr 2005 22:37:10 +0000 (+0000) Subject: Allow to set a style's wxFontEncoding X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/583d32f6ba269cf3ce36708bd546ddb8d32e5c04 Allow to set a style's wxFontEncoding git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/docs/CHANGES.txt b/wxPython/docs/CHANGES.txt index 9e27cd9a84..cdfb9d47c9 100644 --- a/wxPython/docs/CHANGES.txt +++ b/wxPython/docs/CHANGES.txt @@ -25,7 +25,8 @@ the strings will be in the utf-8 encoding and in an ansi build no assumption is made about the encoding. The "UTF8" functions will attempt to always get/set utf-8 text, which will always be true in a unicode build, and in an ansi build will also be true as long as the -utf-8 used is compatible with the current encoding. +utf-8 used is compatible with the current encoding, (you'll get an +exception otherwise.) AddTextRaw AddTextUTF8 InsertTextRaw InsertTextUTF8 @@ -38,6 +39,10 @@ utf-8 used is compatible with the current encoding. AppendTextRaw AppendTextUTF8 +wx.stc.StyledTextCtrl: Added the StyleSetFontEncoding(style, enc) +method that allows you to set the encoding to be used by the font for +a particular style. +