#include class MyApp : public wxApp { bool OnInit() { return false; } }; IMPLEMENT_APP_NO_MAIN(MyApp) int main(int argc, char *argv[]) { int err = wxEntry(argc, argv); std::cout << "Hello, World!" << std::endl; return err; }