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:
@@ -66,7 +66,7 @@ public:
|
||||
void Move(const wxPoint& pt);
|
||||
%name(SetSizeWH) void SetSize(int width, int height);
|
||||
void SetSize(const wxSize& size);
|
||||
void Show(int show = True);
|
||||
void Show(int show = true);
|
||||
void Hide();
|
||||
|
||||
%pythoncode { def __nonzero__(self): return self.IsOk() }
|
||||
@@ -264,7 +264,7 @@ void wxDrawWindowOnDC(wxWindow* window, const wxDC& dc, int method)
|
||||
// WM_PRINT. For most native widgets nothing is drawn to the dc
|
||||
// at all, with or without Themes.
|
||||
typedef BOOL (WINAPI *PrintWindow_t)(HWND, HDC, UINT);
|
||||
static bool s_triedToLoad = False;
|
||||
static bool s_triedToLoad = false;
|
||||
static PrintWindow_t pfnPrintWindow = NULL;
|
||||
if ( !s_triedToLoad )
|
||||
{
|
||||
|
Reference in New Issue
Block a user