diff -r d89c6e7de299 -r 5331bd08a294 cpp/main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cpp/main.cpp Sun Feb 13 07:57:02 2011 +0100 @@ -0,0 +1,27 @@ +#include +#include +#include +#include +#include + +#include "MainWindow.hpp" + +class MyApp : public wxApp +{ + public: + virtual bool OnInit(); +}; + +IMPLEMENT_APP(MyApp) + +bool MyApp::OnInit() +{ + if(!wxApp::OnInit()) + return false; + + MainWindow *mw = new MainWindow(); + mw->Show(); + SetTopWindow(mw); + + return true; +}