childinfo = (childinfo, )
self.Add(*childinfo)
- # for backwards compatibility only, do not use in new code
+ %# for backwards compatibility only, please do not use in new code
AddWindow = AddSizer = AddSpacer = Add
PrependWindow = PrependSizer = PrependSpacer = Prepend
InsertWindow = InsertSizer = InsertSpacer = Insert
void SetDimension( int x, int y, int width, int height );
- void SetMinSize(wxSize size);
+ void SetMinSize( const wxSize &size );
wxSize GetSize();
wxPoint GetPosition();
class wxPySizer : public wxSizer {
public:
- %addtofunc wxPySizer "self._setCallbackInfo(self, PySizer);self._setOORInfo(self)"
+ %pythonAppend wxPySizer "self._setCallbackInfo(self, PySizer);self._setOORInfo(self)"
wxPySizer();
void _setCallbackInfo(PyObject* self, PyObject* _class);
class wxBoxSizer : public wxSizer {
public:
- %addtofunc wxBoxSizer "self._setOORInfo(self)"
+ %pythonAppend wxBoxSizer "self._setOORInfo(self)"
wxBoxSizer(int orient = wxHORIZONTAL);
class wxStaticBoxSizer : public wxBoxSizer {
public:
- %addtofunc wxStaticBoxSizer "self._setOORInfo(self)"
+ %pythonAppend wxStaticBoxSizer "self._setOORInfo(self)"
wxStaticBoxSizer(wxStaticBox *box, int orient = wxHORIZONTAL);
class wxGridSizer: public wxSizer
{
public:
- %addtofunc wxGridSizer "self._setOORInfo(self)"
+ %pythonAppend wxGridSizer "self._setOORInfo(self)"
wxGridSizer( int rows=1, int cols=0, int vgap=0, int hgap=0 );
class wxFlexGridSizer: public wxGridSizer
{
public:
- %addtofunc wxFlexGridSizer "self._setOORInfo(self)"
+ %pythonAppend wxFlexGridSizer "self._setOORInfo(self)"
wxFlexGridSizer( int rows=1, int cols=0, int vgap=0, int hgap=0 );