]>
Commit | Line | Data |
---|---|---|
457814b5 JS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: dialoged.h | |
3 | // Purpose: Dialog Editor application header file | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 04/01/98 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart | |
9 | // Licence: wxWindows license | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
12 | #ifdef __GNUG__ | |
13 | #pragma interface "dialoged.h" | |
14 | #endif | |
15 | ||
16 | #ifndef dialogedh | |
17 | #define dialogedh | |
18 | ||
41c09d48 | 19 | #include "wx/proplist.h" |
457814b5 JS |
20 | #include "reseditr.h" |
21 | ||
7bf07d26 VZ |
22 | extern void ObjectMenuProc(wxMenu *menu, wxCommandEvent& event); |
23 | ||
457814b5 JS |
24 | class MyChild; |
25 | ||
26 | // Define a new application | |
27 | class MyApp: public wxApp | |
28 | { | |
f6bcfd97 | 29 | public: |
457814b5 JS |
30 | MyApp(void); |
31 | bool OnInit(void); | |
ae8351fc | 32 | int OnExit(void); |
f6bcfd97 | 33 | |
7bf07d26 VZ |
34 | void OnObjectPopupMenu(wxCommandEvent& event) |
35 | { | |
6b8b0e7c | 36 | ObjectMenuProc((wxMenu *)event.GetEventObject(), event); |
7bf07d26 | 37 | } |
f6bcfd97 | 38 | |
7bf07d26 VZ |
39 | private: |
40 | DECLARE_EVENT_TABLE() | |
457814b5 JS |
41 | }; |
42 | ||
43 | DECLARE_APP(MyApp) | |
44 | ||
45 | extern wxFrame *GetMainFrame(void); | |
46 | ||
47 | #endif |