main.cpp
changeset 0 97dd4d2c08b6
equal deleted inserted replaced
-1:000000000000 0:97dd4d2c08b6
       
     1 #include <wx/wx.h>
       
     2 
       
     3 #include "MainWindow.hpp"
       
     4 
       
     5 class MyApp : public wxApp
       
     6 {
       
     7     public:
       
     8         virtual bool OnInit();
       
     9 };
       
    10 
       
    11 IMPLEMENT_APP(MyApp)
       
    12 
       
    13 bool MyApp::OnInit()
       
    14 {
       
    15     MainWindow *mw = new MainWindow();
       
    16     mw->Show();
       
    17 
       
    18     return true;
       
    19 }