#include "wxHelloWorldApp.h" //#include "wxHelloWorldMainFrame.h" #include "wxHelloWorldMainFrameInteractor.h" #include bool wxHelloWorldApp::OnInit() { /** Deactivate the vtk warnings. They are cumbersome. */ //vtkObject::GlobalWarningDisplayOff(); /** Here we instanciate the main frame, we display it and THAT'S ALL. */ //wxHelloWorldMainFrame* myMainFrame = new wxHelloWorldMainFrame ( (wxWindow*)(NULL) ); wxHelloWorldMainFrameInteractor* myMainFrame = new wxHelloWorldMainFrameInteractor ( (wxWindow*)(NULL) ); this->SetTopWindow (myMainFrame); myMainFrame->Show (true); return true; } IMPLEMENT_APP (wxHelloWorldApp)