Hi,
in version 2.4, the simple loop
while 1:
while app.Pending():
app.Dispatch()
was a useful replacement for app.MainLoop(). For version 2.5,
the loop
while 1:
while app.Pending():
app.Dispatch()
···
#
sleep(0.001)
#
app.ProcessIdle()
(taken from wxPythonSrc-2.5.1.5/wxPython/demo/demoMainLoop.py)
results in a blank GUI with no interaction.
Does anybody know how to replace the new MainLoop() in Python?
-- Mike
P.S. The mainloop now uses the C++ class wxEventLoop, but I didn't see that wrapped for
Python.