From f2b099261f9e46d65f1fbcfd2a35aa816d5a2818 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 29 Jun 2011 08:37:46 +0000 Subject: [PATCH] Generate code using IsOk() instead of Ok() in stc.cpp. 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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stc/gen_iface.py b/src/stc/gen_iface.py index ff2b7b6360..326b259fe6 100755 --- a/src/stc/gen_iface.py +++ b/src/stc/gen_iface.py @@ -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,', -- 2.45.2