wx.Choice Problems Windows/XP

I have noticed that when using Windows/XP in order to speed up loading of wx.Choice dropdowns it’s necessary to Freeze(), AppendItems, and then Thaw(). I did this and it sped things up considerably. However, when I convert to an executable with PyToExe, the dropdown was empty even though I populated it with 47 items. Has anybody experienced this problem? Is there a solution? Thanks,

Mike

mcravitz@att.net wrote:

I have noticed that when using Windows/XP in order to speed up loading of wx.Choice dropdowns it's necessary to Freeze(), AppendItems, and then Thaw(). I did this and it sped things up considerably. However, when I convert to an executable with PyToExe, the dropdown was empty even though I populated it with 47 items. Has anybody experienced this problem? Is there a solution? Thanks,

Does the py2exe version work if you don't do the Freeze/Thaw? Is there anything that could be causing an exception so the Thaw is skipped? If so then maybe putting it in a try/finally would help.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!