X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a72f4631fe5ab7ebeefdacf8ec9c826ea962133f..f07962f933088c85ae0776cd2e4aec4579d31ffa:/wxPython/src/_sizers.i diff --git a/wxPython/src/_sizers.i b/wxPython/src/_sizers.i index f0eac7a127..49bc1ec8d5 100644 --- a/wxPython/src/_sizers.i +++ b/wxPython/src/_sizers.i @@ -836,6 +836,8 @@ subsizer. Returns True if the item was found.", ""); return self->Show(info.sizer, show, recursive); else if ( info.gotPos ) return self->Show(info.pos, show); + else + return false; } DocAStr(IsShown, @@ -860,7 +862,7 @@ the item.", ""); } %pythoncode { - def Hide(self, item, recursive=false): + def Hide(self, item, recursive=False): """ A convenience method for Show(item, False, recursive). """ @@ -870,7 +872,7 @@ the item.", ""); DocDeclStr( void , ShowItems(bool show), - "Recursively call `wx.Window.Show` on all sizer items.", ""); + "Recursively call `wx.SizerItem.Show` on all sizer items.", ""); };