mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-22 11:47:07 +01:00
12 lines
331 B
Python
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
|