]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/events.py
superposition of text styles in wxTextCtrl now works as expected (and as documented)
[wxWidgets.git] / wxPython / src / msw / events.py
index 3236de4adbe3c1ea1b49c11744ee02b5a56ce4b7..a50e4f988c7dcb6c82589a6c07cf033078690d51 100644 (file)
@@ -48,9 +48,8 @@ class wxEventPtr(wxObjectPtr):
     def __repr__(self):
         return "<C wxEvent instance at %s>" % (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