changeset 0 | 97dd4d2c08b6 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Apr 02 21:47:47 2008 +0200 @@ -0,0 +1,19 @@ +#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; +}