Sorry, I haven't been able to test it. Here's a question. The version which crashed, did it also crash whenever you opened a bracket?
if(something)
somethingelse;
change to:
if(something)
{ <- when pressing csrdown from here, it hanged on me.
somethingelse;
Does it work fine now (built with wxwidgets 2.4.2) ?