X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/823105f4e8b0dfefddbe5e911d06cd5771229cd9..6028be3f39babc4530472a4139576fe318c6aa90:/wxPython/src/_misc.i diff --git a/wxPython/src/_misc.i b/wxPython/src/_misc.i index c4be5c674a..837e0fa653 100644 --- a/wxPython/src/_misc.i +++ b/wxPython/src/_misc.i @@ -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 ) {