X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2dc104421c340091342156d6b01f61f1ccff438..83cbb9e995edca4f729aab005df43f23be8f3261:/wxPython/src/_splitter.i diff --git a/wxPython/src/_splitter.i b/wxPython/src/_splitter.i index 0c3a7fb6de..557e02eefb 100644 --- a/wxPython/src/_splitter.i +++ b/wxPython/src/_splitter.i @@ -27,6 +27,7 @@ enum { wxSP_LIVE_UPDATE, wxSP_3DSASH, wxSP_3DBORDER, + wxSP_NO_XP_THEME, wxSP_BORDER, wxSP_3D, }; @@ -53,18 +54,20 @@ enum class wxSplitterWindow: public wxWindow { public: - %addtofunc wxSplitterWindow "self._setOORInfo(self)" - %addtofunc wxSplitterWindow() "" + %pythonPrepend wxSplitterWindow "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point']" + %pythonPrepend wxSplitterWindow() "" + %pythonAppend wxSplitterWindow "self._setOORInfo(self)" + %pythonAppend wxSplitterWindow() "" wxSplitterWindow(wxWindow* parent, wxWindowID id, - const wxPoint& point = wxDefaultPosition, + const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style=wxSP_3D, const wxString& name = wxPySplitterNameStr); %name(PreSplitterWindow)wxSplitterWindow(); bool Create(wxWindow* parent, wxWindowID id, - const wxPoint& point = wxDefaultPosition, + const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style=wxSP_3D, const wxString& name = wxPySplitterNameStr);