author | viric <viriketo@gmail.com> |
Sun, 13 Feb 2011 07:57:02 +0100 | |
changeset 2 | 5331bd08a294 |
child 3 | 01dafa022fa1 |
permissions | -rw-r--r-- |
#include <wx/wx.h> #include <wx/log.h> #include <wx/image.h> #include <wx/string.h> #include <wx/init.h> #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; }