// For compilers that supports precompilation , includes "wx/wx.h" #include "wx/wxprec.h" #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include "HelloWorldApp.h" IMPLEMENT_APP(HelloWorldApp) bool HelloWorldApp::OnInit() { wxFrame *frame = new wxFrame((wxFrame*) NULL, -1, "Hello World"); frame->CreateStatusBar(); frame->SetStatusText("Hello World"); frame->Show(TRUE); SetTopWindow(frame); return true; }