Fixes for Python 2.1 compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -185,7 +185,7 @@ class wxPopupDialog(wxDialog):
|
||||
|
||||
class wxPopupControl(wxPyControl):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
if 'value' in _kwargs:
|
||||
if _kwargs.has_key('value'):
|
||||
del _kwargs['value']
|
||||
apply(wxPyControl.__init__,(self,) + _args,_kwargs)
|
||||
|
||||
|
Reference in New Issue
Block a user