X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/322913cef36b156a4a9722ce6a68845e3219e615..78577dcb71a8d748b9f5708321c3956c8b83bbe1:/wxPython/src/_panel.i diff --git a/wxPython/src/_panel.i b/wxPython/src/_panel.i index f318d26caf..b0bcc1ad56 100644 --- a/wxPython/src/_panel.i +++ b/wxPython/src/_panel.i @@ -25,8 +25,8 @@ class wxPanel : public wxWindow { public: - %addtofunc wxPanel "self._setOORInfo(self)" - %addtofunc wxPanel() "" + %pythonAppend wxPanel "self._setOORInfo(self)" + %pythonAppend wxPanel() "" wxPanel(wxWindow* parent, const wxWindowID id=-1, @@ -37,7 +37,7 @@ public: %name(PrePanel)wxPanel(); bool Create(wxWindow* parent, - const wxWindowID id, + const wxWindowID id=-1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTAB_TRAVERSAL | wxNO_BORDER, @@ -58,8 +58,8 @@ public: class wxScrolledWindow : public wxPanel { public: - %addtofunc wxScrolledWindow "self._setOORInfo(self)" - %addtofunc wxScrolledWindow() "" + %pythonAppend wxScrolledWindow "self._setOORInfo(self)" + %pythonAppend wxScrolledWindow() "" wxScrolledWindow(wxWindow* parent, const wxWindowID id = -1,