Update SWIG patch to output "True" ("False") in the autodoc string
when "true" ("false") is in the .i file. Changed the .i files to use true/false to avoid collisions with any True/False in headers that may be included. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -289,8 +289,8 @@ the ``type`` parameter.", "");
|
||||
%pythoncode { def __nonzero__(self): return self.Ok() }
|
||||
|
||||
%extend {
|
||||
bool __eq__(const wxBitmap* other) { return other ? (*self == *other) : False; }
|
||||
bool __ne__(const wxBitmap* other) { return other ? (*self != *other) : True; }
|
||||
bool __eq__(const wxBitmap* other) { return other ? (*self == *other) : false; }
|
||||
bool __ne__(const wxBitmap* other) { return other ? (*self != *other) : true; }
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user