]> git.saurik.com Git - wxWidgets.git/blame_incremental - utils/dialoged/src/dialoged.h
don't crash when invalid colour is set as fg/bg colour
[wxWidgets.git] / utils / dialoged / src / dialoged.h
... / ...
CommitLineData
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
22extern void ObjectMenuProc(wxMenu *menu, wxCommandEvent& event);
23
24class MyChild;
25
26// Define a new application
27class MyApp: public wxApp
28{
29public:
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
39private:
40 DECLARE_EVENT_TABLE()
41};
42
43DECLARE_APP(MyApp)
44
45extern wxFrame *GetMainFrame(void);
46
47#endif