]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/stc.cpp
Improve wxTextCtrl::GetNumberOfLines() unit test and documentation.
[wxWidgets.git] / src / stc / stc.cpp
index 0e8c6206acd55974a6082fba8c41b9b2033edb41..c31f350f55f9ee09f129cb392f0280cc56793dea 100644 (file)
@@ -527,9 +527,9 @@ void wxStyledTextCtrl::MarkerDefine(int markerNumber, int markerSymbol,
                 const wxColour& background) {
 
                 SendMsg(2040, markerNumber, markerSymbol);
-                if (foreground.Ok())
+                if (foreground.IsOk())
                     MarkerSetForeground(markerNumber, foreground);
-                if (background.Ok())
+                if (background.IsOk())
                     MarkerSetBackground(markerNumber, background);
 }
 
@@ -4620,7 +4620,7 @@ wxStyledTextEvent::wxStyledTextEvent(const wxStyledTextEvent& event):
 
 /*static*/ wxVersionInfo wxStyledTextCtrl::GetLibraryVersionInfo()
 {
-    return wxVersionInfo("Scintilla", 2, 3);
+    return wxVersionInfo("Scintilla", 2, 3, 0, "Scintilla 2.03");
 }
 
 #endif // wxUSE_STC