can run before the wxFrame show