On Windows XP with wxPython 2.6.0.1 (unicode), it seems calling
HtmlHelpController.Destroy() at exit causes a segfault.
I've modified the "simple" sample to illustrate this. This python
sample and the accompanying HTB file is available as a 90K zip file
at: http://visualisation.tudelft.nl/~cpbotha/thingies/broken_hc.zip ;
most of the 90K is help file, the python code sample is tiny.
If you click on the "Help" button, the help is shown. However, this
is not necessary to cause the segfault. It will segfault when you
select File|Exit from the menubar.
On Windows XP with wxPython 2.6.0.1 (unicode), it seems calling
HtmlHelpController.Destroy() at exit causes a segfault.
There is no need to explicitly destroy a HtmlHelpController object. Since it is not owned by a parent window or something similar then it owns itself. So when the Python object's ref count becomes zero then the C++ object will be destroyed as well. So in your example you can replace the Destroy with "del self._htmlHelpController"
I'll add an empty Destroy method so others don't run into this as well.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!