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 ),
"", "");
%extend {
void _setOORInfo(PyObject* _self) {
- self->SetClientObject(new wxPyOORClientData(_self));
+ if (!self->GetClientObject())
+ self->SetClientObject(new wxPyOORClientData(_self));
}
DocAStr(Add,
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,
}
+// 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,
proportion, flag, border, data);
}
+// virtual void PrependSpacer(int size);
+// virtual void PrependStretchSpacer(int prop = 1);
DocAStr(Remove,
"Remove(self, item) -> bool",