#include "MainFrame.h" #include class CTransForm : public wxApp { public: virtual bool OnInit() { wxString title = wxString::Format(wxT("transm-gui")); auto* f = new CMainFrame(title); f->Show(true); return true; } virtual int OnExit() { return wxApp::OnExit(); } }; IMPLEMENT_APP(CTransForm); DECLARE_APP(CTransForm);