mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 04:50:07 +01:00
⁉️ Not sure if the generated .rst stuff is intended to have
whitespace like this in it or not, so seperating this from the other
commits, so easy to revert if necessary.
12 lines
290 B
Python
12 lines
290 B
Python
|
|
class MyEventLoop(wx.EventLoopBase):
|
|
|
|
def RunMyLoop(self):
|
|
|
|
loop = MyEventLoop()
|
|
activate = wx.EventLoopActivator(loop)
|
|
|
|
# other code...
|
|
|
|
# the previously active event loop restored here
|