const wxString& name = wxPyPanelNameStr)
: wxWindow(parent, id, pos, size, style, name) {}
- void SetBestSize(const wxSize& size) { wxWindow::SetBestSize(size); }
bool DoEraseBackground(wxDC* dc) {
#ifdef __WXMSW__
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);
const wxString& name = wxPyPanelNameStr)
: wxPanel(parent, id, pos, size, style, name) {}
- void SetBestSize(const wxSize& size) { wxPanel::SetBestSize(size); }
bool DoEraseBackground(wxDC* dc) {
#ifdef __WXMSW__
return wxWindow::DoEraseBackground(dc->GetHDC());
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);
const wxString& name = wxPyPanelNameStr)
: wxScrolledWindow(parent, id, pos, size, style, name) {}
- void SetBestSize(const wxSize& size) { wxScrolledWindow::SetBestSize(size); }
bool DoEraseBackground(wxDC* dc) {
#ifdef __WXMSW__
return wxWindow::DoEraseBackground(dc->GetHDC());
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);