wxApp::OnInit

wxFrame * OnInit(void)

This must be provided by the application, and must create and return the application's main window.