X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80cb3dbc364c10cfe9b2201eeacf95a24656bdc5..a92b0cfd2bd0bef75b43c071df0b0e028f360d8e:/wxPython/src/mac/events.py?ds=sidebyside diff --git a/wxPython/src/mac/events.py b/wxPython/src/mac/events.py index 3236de4adb..a50e4f988c 100644 --- a/wxPython/src/mac/events.py +++ b/wxPython/src/mac/events.py @@ -48,9 +48,8 @@ class wxEventPtr(wxObjectPtr): def __repr__(self): return "" % (self.this,) class wxEvent(wxEventPtr): - def __init__(self,*_args,**_kwargs): - self.this = apply(eventsc.new_wxEvent,_args,_kwargs) - self.thisown = 1 + def __init__(self,this): + self.this = this