X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ea6e0ec63b235fcd6ae6a44b9ad2c18a87b6024..07faea280099d6966b4ad1a146c3069d33d25ac5:/wxPython/src/_sizers.i diff --git a/wxPython/src/_sizers.i b/wxPython/src/_sizers.i index 5476b405c2..4f74fdb6e1 100644 --- a/wxPython/src/_sizers.i +++ b/wxPython/src/_sizers.i @@ -127,6 +127,11 @@ account.", ""); wxSize , GetMinSize(), "Get the minimum size needed for the item.", ""); + DocDeclStr( + wxSize , GetMinSizeWithBorder() const, + "Get the minimum size needed for the item with space for the borders +added, if needed.", ""); + DocDeclStr( void , SetInitSize( int x, int y ), "", ""); @@ -367,7 +372,8 @@ public: %extend { void _setOORInfo(PyObject* _self) { - self->SetClientObject(new wxPyOORClientData(_self)); + if (!self->GetClientObject()) + self->SetClientObject(new wxPyOORClientData(_self)); } DocAStr(Add, @@ -491,6 +497,8 @@ public: proportion, flag, border, data); } +// virtual void AddSpacer(int size); +// virtual void AddStretchSpacer(int prop = 1); DocAStr(Insert, "Insert(self, int before, item, int proportion=0, int flag=0, int border=0, @@ -519,6 +527,8 @@ the item at index *before*. See `Add` for a description of the parameters.", "" } +// virtual void InsertSpacer(size_t index, int size); +// virtual void InsertStretchSpacer(size_t index, int prop = 1); DocAStr(Prepend, "Prepend(self, item, int proportion=0, int flag=0, int border=0, @@ -546,6 +556,8 @@ this sizer. See `Add` for a description of the parameters.", ""); proportion, flag, border, data); } +// virtual void PrependSpacer(int size); +// virtual void PrependStretchSpacer(int prop = 1); DocAStr(Remove, "Remove(self, item) -> bool",