diff --git a/wx/lib/popupctl.py b/wx/lib/popupctl.py index 236501f6..4017f473 100644 --- a/wx/lib/popupctl.py +++ b/wx/lib/popupctl.py @@ -148,12 +148,6 @@ class PopupDialog(wx.Dialog): class PopupControl(wx.Control): def __init__(self,*_args,**_kwargs): - if 'value' in _kwargs: - del _kwargs['value'] - style = _kwargs.get('style', 0) - if (style & wx.BORDER_MASK) == 0: - style |= wx.BORDER_NONE - _kwargs['style'] = style wx.Control.__init__(self, *_args, **_kwargs) self.textCtrl = wx.TextCtrl(self, wx.ID_ANY, '', pos = (0,0))