#include "MyApp.h" bool MyApp::OnInit() { wxFrame* pFrame = new wxFrame(nullptr, wxID_ANY, "Hello World"); wxPanel* pPanel = new wxPanel(pFrame); wxButton* pButton = new wxButton(pPanel, wxID_ANY, "Click me", wxPoint(10, 10), wxSize(100, 30)); pFrame->Show(); return true; }