const wxString& name = wxPyControlNameStr)
: wxControl(parent, id, pos, size, style, validator, name) {}
- void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
bool DoEraseBackground(wxDC* dc) {
#ifdef __WXMSW__
class wxPyControl : public wxControl
{
public:
- %pythonAppend wxPyControl "self._setOORInfo(self); self._setCallbackInfo(self, PyControl)"
+ %pythonAppend wxPyControl "self._setOORInfo(self);" setCallbackInfo(PyControl)
%pythonAppend wxPyControl() ""
wxPyControl(wxWindow* parent, const wxWindowID id=-1,
void _setCallbackInfo(PyObject* self, PyObject* _class);
- void SetBestSize(const wxSize& size);
+ %pythoncode { SetBestSize = wx.Window.SetInitialSize }
bool DoEraseBackground(wxDC* dc);
void DoMoveWindow(int x, int y, int width, int height);