]> git.saurik.com Git - wxWidgets.git/commitdiff
Generate code using IsOk() instead of Ok() in stc.cpp.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Jun 2011 08:37:46 +0000 (08:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 29 Jun 2011 08:37:46 +0000 (08:37 +0000)
Modify the script generating this file itself to produce IsOk() instead of
Ok(). This replaces the changes of r67681 which only modified the generated
file.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/stc/gen_iface.py

index ff2b7b636094f492d0d0c48b2ed00db862f24acd..326b259fe6360c3ceefb179fff51415f0b5800e2 100755 (executable)
@@ -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,',