]> git.saurik.com Git - wxWidgets.git/commitdiff
remove 'point' arg from kwargs if it was replaced
authorRobin Dunn <robin@alldunn.com>
Tue, 30 Mar 2004 19:17:17 +0000 (19:17 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 30 Mar 2004 19:17:17 +0000 (19:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/_radio.i
wxPython/src/_slider.i
wxPython/src/_splitter.i

index a2af8d1d71dcff66ef7ca05948b02eec0c9e035c..4e4dde6728b8bb2b0f1b7dfc28238f9a26115abb 100644 (file)
@@ -24,7 +24,7 @@ MAKE_CONST_WXSTRING(RadioButtonNameStr);
 class wxRadioBox : public wxControl
 {
 public:
-    %pythonPrepend wxRadioBox         "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point']"
+    %pythonPrepend wxRadioBox         "if kwargs.has_key('point'): kwargs['pos'] = kwargs['point'];del kwargs['point']"
     %pythonPrepend wxRadioBox()       ""
     %pythonAppend  wxRadioBox         "self._setOORInfo(self)"
     %pythonAppend  wxRadioBox()       ""
index 4ed28e4ff03bd2f3dc2e739dc964d72802e33af1..5d4e64329c933e96f6dd09335dcfeac2971a6606 100644 (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()       ""
index 2603d3398ac20dd3efdb3e87666807924d0d925c..f63483690b4cd8adc0a38488689faea539bc1f24 100644 (file)
@@ -106,7 +106,7 @@ 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()       ""