X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e35a624d40a71780ac19de2839f9e05007c0fe6c..6b7e0a8639098d55db2c7fb8f54a7558b95fe2c0:/wxPython/src/msw/controls.py diff --git a/wxPython/src/msw/controls.py b/wxPython/src/msw/controls.py index be2571c57e..bd1f97dda6 100644 --- a/wxPython/src/msw/controls.py +++ b/wxPython/src/msw/controls.py @@ -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