Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.EventLoopActivator.1.py
2016-05-18 16:38:18 -07:00

12 lines
331 B
Python

class MyEventLoop(wx.EventLoopBase):
def RunMyLoop(self):
loop = MyEventLoop()
activate = wx.EventLoopActivator(loop)
# other code...
# the previously active event loop restored here