X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/66394199cf03f0e9a3a675fe9829d31463ad38bb..3bcdbe527fde583072eefab67de8974c0e17a1e2:/wxPython/src/_splitter.i diff --git a/wxPython/src/_splitter.i b/wxPython/src/_splitter.i index e10fc644af..b149bb8bd2 100644 --- a/wxPython/src/_splitter.i +++ b/wxPython/src/_splitter.i @@ -106,13 +106,15 @@ RefDoc(wxSplitterWindow, " class wxSplitterWindow: public wxWindow { public: - %pythonPrepend wxSplitterWindow "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point']" + %pythonPrepend wxSplitterWindow "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point'];del kwargs['point']" %pythonPrepend wxSplitterWindow() "" %pythonAppend wxSplitterWindow "self._setOORInfo(self)" %pythonAppend wxSplitterWindow() "" + RefDoc(wxSplitterWindow, ""); // turn it off for the ctors + DocCtorStr( - wxSplitterWindow(wxWindow* parent, wxWindowID id, + wxSplitterWindow(wxWindow* parent, wxWindowID id=-1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style=wxSP_3D, @@ -126,7 +128,7 @@ public: DocDeclStr( - bool , Create(wxWindow* parent, wxWindowID id, + bool , Create(wxWindow* parent, wxWindowID id=-1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style=wxSP_3D, @@ -364,14 +366,12 @@ EVT_SPLITTER_SASH_POS_CHANGING and EVT_SPLITTER_SASH_POS_CHANGED events."); - // UNSPLIT event methods DocDeclStr( wxWindow *, GetWindowBeingRemoved() const, "Returns a pointer to the window being removed when a splitter window is unsplit."); - // DCLICK event methods DocDeclStr( int , GetX() const, "Returns the x coordinate of the double-click point in a