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:
@@ -77,7 +77,7 @@ This constructor is not available on wxGTK, use ``wx.StockCursor``,
|
||||
``wx.CursorFromImage``, or ``wx.CursorFromBits`` instead.", "");
|
||||
wxCursor(const wxString* cursorName, long type, int hotSpotX=0, int hotSpotY=0) {
|
||||
%#ifdef __WXGTK__
|
||||
wxCHECK_MSG(False, NULL,
|
||||
wxCHECK_MSG(false, NULL,
|
||||
wxT("wx.Cursor constructor not implemented for wxGTK, use wx.StockCursor, wx.CursorFromImage, or wx.CursorFromBits instead."));
|
||||
%#else
|
||||
return new wxCursor(*cursorName, type, hotSpotX, hotSpotY);
|
||||
|
Reference in New Issue
Block a user