]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/controls.py
embedded sample compiles again
[wxWidgets.git] / wxPython / src / msw / controls.py
index be2571c57eadada7192ad44febc570335ee0adb2..bd1f97dda625462a28511d444b9890c5eba0515e 100644 (file)
@@ -1783,7 +1783,7 @@ class RadioBox(core.Control):
             long style=RA_HORIZONTAL, Validator validator=DefaultValidator, 
             String name=RadioBoxNameStr) -> RadioBox
         """
-        if kwargs.has_key('point'): kwargs['pos'] = kwargs['point']
+        if kwargs.has_key('point'): kwargs['pos'] = kwargs['point'];del kwargs['point']
         newobj = _controls.new_RadioBox(*args, **kwargs)
         self.this = newobj.this
         self.thisown = 1
@@ -1929,7 +1929,7 @@ class Slider(core.Control):
             long style=SL_HORIZONTAL, Validator validator=DefaultValidator, 
             String name=SliderNameStr) -> Slider
         """
-        if kwargs.has_key('point'): kwargs['pos'] = kwargs['point']
+        if kwargs.has_key('point'): kwargs['pos'] = kwargs['point'];del kwargs['point']
         newobj = _controls.new_Slider(*args, **kwargs)
         self.this = newobj.this
         self.thisown = 1