respect the encoding of the text style and not only the global control font encoding when inserting the text in the control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -191,6 +191,13 @@ private:
|
||||
// change the font for everything in this control
|
||||
void ChangeFontGlobally();
|
||||
|
||||
// get the encoding which is used in this control: this looks at our font
|
||||
// and default style but not the current style (i.e. the style for the
|
||||
// current position); returns wxFONTENCODING_SYSTEM if we have no specific
|
||||
// encoding
|
||||
wxFontEncoding GetTextEncoding() const;
|
||||
|
||||
|
||||
GtkWidget *m_text;
|
||||
|
||||
bool m_modified:1;
|
||||
|
Reference in New Issue
Block a user