X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/457814b5aa2ee5c83abc65a6aee2a3ebcb1af34f..6dc34ebbd8f787eb42018df5b5fb938c1c7390aa:/utils/dialoged/src/dialoged.h diff --git a/utils/dialoged/src/dialoged.h b/utils/dialoged/src/dialoged.h index b7265ba164..458733bc17 100644 --- a/utils/dialoged/src/dialoged.h +++ b/utils/dialoged/src/dialoged.h @@ -16,17 +16,28 @@ #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)