Radiobutton hang with py2exe

Hello,

I'm having problem with a application hang when clicking on
radiobutton. The weird think is that it appears only when bundling app
with py2exe not when running the .py file directly. I'm using Python
2.3.5 and wxPython 2.6.3.2.

I've tried to create simple application demonstrating this problem,
the problem appears when clicking on radio_btn_6. App hangs only when
there is a Notebook widget with two TreeCtrls. Example files are here:

http://www.stud.fit.vutbr.cz/~xhlavk00/testradio/

Does anybody know what can cause this (or what I'm doing wrong)?

  Thanks in advance, Petr Hlavka.

Petr Hlávka wrote:

Hello,

I'm having problem with a application hang when clicking on
radiobutton. The weird think is that it appears only when bundling app
with py2exe not when running the .py file directly. I'm using Python
2.3.5 and wxPython 2.6.3.2.

I've tried to create simple application demonstrating this problem,
the problem appears when clicking on radio_btn_6. App hangs only when
there is a Notebook widget with two TreeCtrls. Example files are here:

http://www.stud.fit.vutbr.cz/~xhlavk00/testradio/

Does anybody know what can cause this (or what I'm doing wrong)?

It looks like it is only a problem when using the non-themed version of the common controls. You can work around the problem by giving your exe a manifest file (see the wiki and also archive messages for this list.)

···

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