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
This commit is contained in:
Vadim Zeitlin
2011-06-29 08:37:46 +00:00
parent c1b293bb8d
commit f2b099261f

View File

@@ -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,',