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__
class wxPyWindow : public wxWindow
{
public:
- %pythonAppend wxPyWindow "self._setOORInfo(self); self._setCallbackInfo(self, PyWindow)"
+ %pythonAppend wxPyWindow "self._setOORInfo(self);" setCallbackInfo(PyWindow)
%pythonAppend wxPyWindow() ""
wxPyWindow(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);
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());
class wxPyPanel : public wxPanel
{
public:
- %pythonAppend wxPyPanel "self._setOORInfo(self); self._setCallbackInfo(self, PyPanel)"
+ %pythonAppend wxPyPanel "self._setOORInfo(self);" setCallbackInfo(PyPanel)
%pythonAppend wxPyPanel() ""
wxPyPanel(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);
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());
class wxPyScrolledWindow : public wxScrolledWindow
{
public:
- %pythonAppend wxPyScrolledWindow "self._setOORInfo(self); self._setCallbackInfo(self, PyScrolledWindow)"
+ %pythonAppend wxPyScrolledWindow "self._setOORInfo(self);" setCallbackInfo(PyScrolledWindow)
%pythonAppend wxPyScrolledWindow() ""
wxPyScrolledWindow(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);