Mercurial > mercurial > hgweb_iklist.hg.cgi
comparison include/main.h @ 0:520044113ef0 draft
beta release.
| author | pyon <pyon@macmini> |
|---|---|
| date | Sat, 21 Aug 2021 13:03:13 +0900 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:520044113ef0 |
|---|---|
| 1 // Filename : main.h | |
| 2 // Last Change: 2020-03-12 –Ø 13:37:37. | |
| 3 // | |
| 4 #pragma once | |
| 5 | |
| 6 #include <wx/wx.h> | |
| 7 | |
| 8 // private classes | |
| 9 // Define a new application type, each program should derive a class from wxApp | |
| 10 class MyApp : public wxApp | |
| 11 { | |
| 12 DECLARE_CLASS(MyApp) | |
| 13 private: | |
| 14 | |
| 15 public: | |
| 16 MyApp(); | |
| 17 ~MyApp(); | |
| 18 | |
| 19 virtual bool OnInit(); | |
| 20 virtual int OnExit(); | |
| 21 }; | |
| 22 | |
| 23 DECLARE_APP(MyApp) | |
| 24 |
