]> 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 b0a98e41eecbd572531fec00e00e8880a551f7e6..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);
 }