#include <wx/wx.h> #include "MainWindow.hpp" class MyApp : public wxApp { public: virtual bool OnInit(); }; IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { MainWindow *mw = new MainWindow(); mw->Show(); return true; }