]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/dialoged/src/dialoged.h
removed libxpm dependencies from makefiles
[wxWidgets.git] / utils / dialoged / src / dialoged.h
index adfcb9ace9672ddecdb1d47597990875f86beb64..458733bc17c6d300947f586546086dae46a078ed 100644 (file)
 #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)