X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ba9317588e6e34988025c9571094fb732bf06cb..c1280d1ef6d32bd1c0ad9652b8c9bfc67393dcd3:/wxPython/src/_sizers.i diff --git a/wxPython/src/_sizers.i b/wxPython/src/_sizers.i index c438e2ed2e..8fe5f1b071 100644 --- a/wxPython/src/_sizers.i +++ b/wxPython/src/_sizers.i @@ -841,7 +841,7 @@ as well.", ""); // wxList& GetChildren(); %extend { DocAStr(GetChildren, - "GetChildren(sefl) -> list", + "GetChildren(self) -> list", "Returns a list of all the `wx.SizerItem` objects managed by the sizer.", ""); PyObject* GetChildren() { wxSizerItemList& list = self->GetChildren(); @@ -1043,10 +1043,12 @@ public: "Constructor. It takes an associated static box and the orientation *orient* as parameters - orient can be either of ``wx.VERTICAL`` or ``wx.HORIZONTAL``.", ""); + + // TODO: wxStaticBoxSizer(int orient, wxWindow *win, const wxString& label = wxEmptyString); - DocDeclStr( - wxStaticBox *, GetStaticBox(), - "Returns the static box associated with this sizer.", ""); + DocDeclStr( + wxStaticBox *, GetStaticBox(), + "Returns the static box associated with this sizer.", ""); }; @@ -1268,7 +1270,7 @@ DocStr(wxStdDialogButtonSizer, "A special sizer that knows how to order and position standard buttons in order to conform to the current platform's standards. You simply need to add each `wx.Button` to the sizer, and be sure to create the -buttons using the standard ID's. Then call `Finalize` and the sizer +buttons using the standard ID's. Then call `Realize` and the sizer will take care of the rest. ", ""); @@ -1285,7 +1287,7 @@ public: method in the base class.", ""); DocDeclStr( - void , Finalise(), + void , Realize(), "This funciton needs to be called after all the buttons have been added to the sizer. It will reorder them and position them in a platform specifc manner.", "");