Mercurial > mercurial > hgweb_lesearcher.cgi
comparison include/main.h @ 0:615a15029602 default tip
first commit.
| author | pyon@macmini |
|---|---|
| date | Sun, 10 Nov 2019 08:39:41 +0900 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:615a15029602 |
|---|---|
| 1 /* Filename : main.h | |
| 2 Last Change: 2019-11-08 金 14:16:12. | |
| 3 by Takayuki Mutoh | |
| 4 */ | |
| 5 #pragma once | |
| 6 | |
| 7 #include <wx/wx.h> | |
| 8 | |
| 9 // private classes | |
| 10 // Define a new application type, each program should derive a class from wxApp | |
| 11 class MyApp : public wxApp | |
| 12 { | |
| 13 DECLARE_CLASS( MyApp ) | |
| 14 private: | |
| 15 | |
| 16 public: | |
| 17 MyApp(); | |
| 18 ~MyApp(); | |
| 19 | |
| 20 virtual bool OnInit(); | |
| 21 virtual int OnExit(); | |
| 22 }; | |
| 23 | |
| 24 DECLARE_APP( MyApp ) | |
| 25 |
