remove 'point' arg from kwargs if it was replaced

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-03-30 19:17:17 +00:00
parent 413844c2d4
commit 94eaeb1b02
3 changed files with 3 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ MAKE_CONST_WXSTRING(SliderNameStr);
class wxSlider : public wxControl {
public:
%pythonPrepend wxSlider "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point']"
%pythonPrepend wxSlider "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point'];del kwargs['point']"
%pythonPrepend wxSlider() ""
%pythonAppend wxSlider "self._setOORInfo(self)"
%pythonAppend wxSlider() ""