]> git.saurik.com Git - wxWidgets.git/blob - utils/dialoged/src/dialoged.h
removed assert from wxColour::InitFromName() as there is no way to bypass it (see...
[wxWidgets.git] / utils / dialoged / src / dialoged.h
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
19 #include "wx/proplist.h"
20 #include "reseditr.h"
21
22 extern void ObjectMenuProc(wxMenu *menu, wxCommandEvent& event);
23
24 class MyChild;
25
26 // Define a new application
27 class MyApp: public wxApp
28 {
29 public:
30 MyApp(void);
31 bool OnInit(void);
32 int OnExit(void);
33
34 void OnObjectPopupMenu(wxCommandEvent& event)
35 {
36 ObjectMenuProc((wxMenu *)event.GetEventObject(), event);
37 }
38
39 private:
40 DECLARE_EVENT_TABLE()
41 };
42
43 DECLARE_APP(MyApp)
44
45 extern wxFrame *GetMainFrame(void);
46
47 #endif