]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/stc/stc.cpp.in
regenerated after version.bkl changes fixing -compatibility_version for Darwin
[wxWidgets.git] / contrib / src / stc / stc.cpp.in
index 7735fd6109ea2f683fb11a79f59282eef6725220..240d528c9796bfef31db623dce3d5d3ff5b23b6c 100644 (file)
@@ -301,7 +301,7 @@ void wxStyledTextCtrl::StyleSetFont(int styleNum, wxFont& font) {
     bool           bold     = font.GetWeight() == wxBOLD;
     bool           italic   = font.GetStyle() != wxNORMAL;
     bool           under    = font.GetUnderlined();
-    wxFontEncoding encoding = font.GetDefaultEncoding();
+    wxFontEncoding encoding = font.GetEncoding();
     
     StyleSetFontAttr(styleNum, size, faceName, bold, italic, under, encoding);
 }