From: Robin Dunn Date: Sat, 19 Mar 2005 21:55:11 +0000 (+0000) Subject: docstring update X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f1e759d755c109ff334b518c67fad076e6572c8b?ds=inline docstring update git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/_sizers.i b/wxPython/src/_sizers.i index 6f033ef9c6..526a646c88 100644 --- a/wxPython/src/_sizers.i +++ b/wxPython/src/_sizers.i @@ -145,7 +145,7 @@ added, if needed.", ""); DocStr(SetRatio, "Set the ratio item attribute.", ""); %Rename(SetRatioWH, void, SetRatio( int width, int height )); - %Rename(SetRatioSize, void, SetRatio( wxSize size )); + %Rename(SetRatioSize, void, SetRatio( const wxSize& size )); void SetRatio( float ratio ); DocDeclStr( @@ -926,7 +926,7 @@ the item.", ""); %pythoncode { def Hide(self, item, recursive=False): """ - A convenience method for Show(item, False, recursive). + A convenience method for `Show`(item, False, recursive). """ return self.Show(item, False, recursive) } @@ -936,6 +936,10 @@ the item.", ""); void , ShowItems(bool show), "Recursively call `wx.SizerItem.Show` on all sizer items.", ""); + // TODO: + // void Show(bool show); + // bool IsShown(); + }; diff --git a/wxPython/src/_splitter.i b/wxPython/src/_splitter.i index f44305c477..824ed58205 100644 --- a/wxPython/src/_splitter.i +++ b/wxPython/src/_splitter.i @@ -276,7 +276,7 @@ showing the top-level window.", ""); DocDeclStr( void , SetSashSize(int width), - "Sets the sash size. Currently a NOP.", ""); + "Sets the sash size.", ""); DocDeclStr(