transm/gui/main.cxx
2025-03-31 13:58:49 +08:00

21 lines
394 B
C++

#include "MainFrame.h"
#include <wx/wx.h>
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);