]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/stc/ScintillaWX.cpp
Correct rounding up vs. rounding down error in GTK+
[wxWidgets.git] / contrib / src / stc / ScintillaWX.cpp
index 41b3a5a06d089c654d50d4dcf3aa2fbb86a6b92b..796f06e0c8f03ac927b8e2fa36f0763a9d507fbb 100644 (file)
@@ -539,7 +539,8 @@ long ScintillaWX::WndProc(unsigned int iMessage, unsigned long wParam, long lPar
                                           defn,
                                           vs.styles[STYLE_DEFAULT].fontName,
                                           vs.styles[STYLE_DEFAULT].sizeZoomed,
-                                          IsUnicodeMode(),
+                                          CodePage(),
+                                          vs.styles[STYLE_DEFAULT].characterSet,
                                           wMain);
           // If the call-tip window would be out of the client
           // space, adjust so it displays above the text.