I have trouble with threading messing up eventhandling. The following
program works if the statement starting the other thread is
removed. Have I missed something central in how to handle the layout
of a panel?
/ Johan Lubcke
----- 8< -----
from wxPython.wx import *
from wxPython.lib.grids import wxFlexGridSizer
from threading import Thread
def foo(): print "Fooing!"
There is currently an issue with threads that I am working on. I'm guessing
that there is a deadlock in aquiring the Python Interpreter Lock when the
events happen. The odd thing is that in some samples threads work just fine,
others liek this one lock up.
Thanks for the simple sample. It will help track down the trouble.