X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9283228f861b3842f06e2228c4f7b93a48de064f..ca30acad7aafad24e6a0fad86df25842110862c7:/wxPython/src/_sizers.i diff --git a/wxPython/src/_sizers.i b/wxPython/src/_sizers.i index 157024fb7d..e34ed95a19 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.", ""); }; @@ -1289,6 +1291,10 @@ method in the base class.", ""); "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.", ""); + + void SetAffirmativeButton( wxButton *button ); + void SetNegativeButton( wxButton *button ); + void SetCancelButton( wxButton *button ); wxButton* GetAffirmativeButton() const; wxButton* GetApplyButton() const;