#include <wx\wx.h> class Form :public wxApp { wxFrame*window; public: bool OnInit() { window = new wxFrame(nullptr, -1, “Form”, wxPoint(100, 100), wxSize(840, 640)); window->Centre(wxBOTH); window->Show(true); return true; } ~Form() { wxMessageBox(“Bye”, “Info”); } }; class Win :public wxApp { wxFrame*window; public: bool OnInit() { window = new wxFrame(nullptr, -1, “hi”, wxPoint(100, 100), wxSize(840, 640)); window->Centre(wxBOTH); window->Show(true);Read more