equal
deleted
inserted
replaced
|
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 } |