//wxSizerItem( wxWindow *window, int option, int flag, int border, wxObject* userData );
//wxSizerItem( wxSizer *sizer, int option, int flag, int border, wxObject* userData );
+ void DeleteWindows();
+
wxPoint GetPosition();
wxSize GetSize();
wxSize CalcMin();
%addmethods {
void _setOORInfo(PyObject* _self) {
- self->SetClientObject(new wxPyClientData(_self));
+ self->SetClientObject(new wxPyOORClientData(_self));
}
}
wxPoint GetPosition();
wxSize GetMinSize();
+ %pragma(python) addtoclass = "
+ def GetSizeTuple(self):
+ return self.GetSize().asTuple()
+ def GetPositionTuple(self):
+ return self.GetPosition().asTuple()
+ def GetMinSizeTuple(self):
+ return self.GetMinSize().asTuple()
+ "
+
// void RecalcSizes() = 0;
// wxSize CalcMin() = 0;
void Layout();
void Fit( wxWindow *window );
+ void FitInside( wxWindow *window );
+
void SetSizeHints( wxWindow *window );
+ void SetVirtualSizeHints( wxWindow *window );
+
+ void Clear( bool delete_windows=FALSE );
+ void DeleteWindows();
+
// wxList& GetChildren();
%addmethods {