]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_extras.py
Fixed bug with notebook pages not showing (probably affected any
[wxWidgets.git] / wxPython / src / _extras.py
index be34766f07756c21defa868b8f7232ea40d4b742..99f9f70dabcff2af175f41d7d7062f6d02afc41e 100644 (file)
@@ -730,7 +730,7 @@ def wxCallAfter(callable, *args, **kw):
 
     global _wxCallAfterId
     if _wxCallAfterId is None:
-        _wxCallAfterId = wxNewId()
+        _wxCallAfterId = wxNewEventType()
         app.Connect(-1, -1, _wxCallAfterId,
               lambda event: apply(event.callable, event.args, event.kw) )
     evt = wxPyEvent()