Allow to set a style's wxFontEncoding

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-04-19 22:37:10 +00:00
parent 3727c043a8
commit 583d32f6ba

View File

@ -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 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 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 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 AddTextRaw AddTextUTF8
InsertTextRaw InsertTextUTF8 InsertTextRaw InsertTextUTF8
@ -38,6 +39,10 @@ utf-8 used is compatible with the current encoding.
AppendTextRaw AppendTextUTF8 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.