]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stc/gen_iface.py
fixing osx_carbon
[wxWidgets.git] / src / stc / gen_iface.py
index 8fddb97722086ead377df4f7c72ac46a2b997344..326b259fe6360c3ceefb179fff51415f0b5800e2 100755 (executable)
@@ -8,7 +8,7 @@
 # Created:      5-Sept-2000
 # RCS-ID:       $Id$
 # Copyright:    (c) 2000 by Total Control Software
-# Licence:      wxWindows license
+# Licence:      wxWindows licence
 #----------------------------------------------------------------------------
 
 
@@ -194,9 +194,9 @@ methodOverrideMap = {
                 const wxColour& background) {
 
                 SendMsg(%s, markerNumber, markerSymbol);
-                if (foreground.Ok())
+                if (foreground.IsOk())
                     MarkerSetForeground(markerNumber, foreground);
-                if (background.Ok())
+                if (background.IsOk())
                     MarkerSetBackground(markerNumber, background);''',
 
      ('Set the symbol used for a particular marker number,',