Added some wxApp methods.