]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/stc/ScintillaWX.cpp
Fix test broken by change in package name from PyCrust to py.
[wxWidgets.git] / contrib / src / stc / ScintillaWX.cpp
index d382203bfda76af086c4ee089697854a9bc588c7..f1ebd651172fc32612edf5cf1010a9ea1d8ad2ec 100644 (file)
@@ -160,6 +160,7 @@ void ScintillaWX::Initialise() {
     dropTarget->SetScintilla(this);
     stc->SetDropTarget(dropTarget);
 #endif
+    vs.extraFontFlag = true;
 }
 
 
@@ -907,5 +908,15 @@ void ScintillaWX::ClipChildren(wxDC& WXUNUSED(dc), PRectangle WXUNUSED(rect)) {
 }
 #endif
 
+
+void ScintillaWX::SetUseAntiAliasing(bool useAA) {
+    vs.extraFontFlag = useAA;
+    InvalidateStyleRedraw();
+}
+
+bool ScintillaWX::GetUseAntiAliasing() {
+    return vs.extraFontFlag;
+}
 //----------------------------------------------------------------------
 //----------------------------------------------------------------------