Mercurial > mercurial > hgweb_kaigo.hg.cgi
annotate Porori/include/main.h @ 7:3b16a1b57e00 draft default tip
add qtuti/95y.
| author | pyon |
|---|---|
| date | Sat, 27 Nov 2021 14:50:30 +0900 |
| parents | aaaa401818a1 |
| children |
| rev | line source |
|---|---|
| 0 | 1 // Filename : main.h |
| 2 // Last Change: 2016-12-01 –Ø 18:02:02. | |
| 3 // | |
| 4 #include <wx/wx.h> | |
| 5 | |
| 6 // private classes | |
| 7 // Define a new application type, each program should derive a class from wxApp | |
| 8 class MyApp : public wxApp | |
| 9 { | |
| 10 DECLARE_CLASS( MyApp ) | |
| 11 public: | |
| 12 MyApp(); | |
| 13 ~MyApp(); | |
| 14 | |
| 15 virtual bool OnInit(); | |
| 16 virtual int OnExit(); | |
| 17 }; | |
| 18 | |
| 19 DECLARE_APP(MyApp) | |
| 20 |
