wxPython TextCtrl not working inside of Panda main loop

The code I posted in another threadmay help. I am successfully using that code snippet as the base for the Panda/wx interaction in my program. There haven’t been any issues from the start to now, with over 7500 lines and counting written around it. Cheers

Edit: I am using all sorts of wxPython controls, including the TextCtrl.