OnExceptionInMainLoop covers the same functionality.
Not the perfect place for it by any means, but that's where the rest of the application-global stuff is these days and it removed the need for automation stuff to include main.h (and thus all the wxApp garbage).