Problem with wxConfig & wxPython Demo

Hi All,

I had a problem which occurred with the wxPython demo that highlighted a
problem with wxConfig - when the demo had a problem reading the config
file it displayed a message, giving me the path and a details button -
the only trouble is that the error box only persisted for a few seconds
- presumably until the application terminated - this was not long enough
to read the file path. Once I had managed to find the faulty file I
just needed to rename it to get things running again but I had to try
running the demo 5 or 6 times before I saw enough of the path.

Is there any way of, when an error is displayed, waiting until the error
has been read by the user before terminating the application - e.g.
making the error dialogue modal and giving it a go away button, (OK or
Cancel), in the case of a fatal error like this?

I am sure that I have seen errors like this before with other wx based
applications and they have been known to make an application unusable.
Even worse uninstalling the demo and reinstalling it - my first option -
didn't remove the configuration file that contained the fault.

wx python version 2.8.12.1 (msw-unicode)
demo version ditto.

Gadget/Steve