#ifndef dialogedh
#define dialogedh
-#include "proplist.h"
+#include "wx/proplist.h"
#include "reseditr.h"
+extern void ObjectMenuProc(wxMenu *menu, wxCommandEvent& event);
+
class MyChild;
// Define a new application
class MyApp: public wxApp
{
- public:
+public:
MyApp(void);
bool OnInit(void);
int OnExit(void);
+
+ void OnObjectPopupMenu(wxCommandEvent& event)
+ {
+ ObjectMenuProc((wxMenu *)event.GetEventObject(), event);
+ }
+
+private:
+ DECLARE_EVENT_TABLE()
};
DECLARE_APP(MyApp)