]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/dialoged/src/dialoged.h
bug fixes
[wxWidgets.git] / utils / dialoged / src / dialoged.h
index adfcb9ace9672ddecdb1d47597990875f86beb64..72abac89c139ea038abdd8ae0c63fa2500292156 100644 (file)
@@ -19,6 +19,8 @@
 #include "wx/proplist.h"
 #include "reseditr.h"
 
+extern void ObjectMenuProc(wxMenu *menu, wxCommandEvent& event);
+
 class MyChild;
 
 // Define a new application
@@ -28,6 +30,14 @@ class MyApp: public wxApp
     MyApp(void);
     bool OnInit(void);
     int OnExit(void);
+
+    void OnObjectPopupMenu(wxCommandEvent& event)
+    {
+        ObjectMenuProc((wxMenu *)event.GetEventObject(), event);
+    }
+
+private:
+    DECLARE_EVENT_TABLE()
 };
 
 DECLARE_APP(MyApp)