X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae8351fc61c11718b80630465967408d13fc226a..c74d8df09d0c0e182cb2063cc4cc546de3a00fae:/utils/dialoged/src/dialoged.h diff --git a/utils/dialoged/src/dialoged.h b/utils/dialoged/src/dialoged.h index 99442bdc25..458733bc17 100644 --- a/utils/dialoged/src/dialoged.h +++ b/utils/dialoged/src/dialoged.h @@ -16,18 +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)