X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/823105f4e8b0dfefddbe5e911d06cd5771229cd9..7aada1e05a7ed29ee5a0afb5f3464b803e966d7c:/wxPython/src/_misc.i diff --git a/wxPython/src/_misc.i b/wxPython/src/_misc.i index c4be5c674a..3390427f94 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,12 +264,12 @@ 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 ) { - s_triedToLoad = True; + s_triedToLoad = true; wxDynamicLibrary dllUser32(_T("user32.dll")); if ( dllUser32.IsLoaded() ) {