X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b8b0e7ca05ae2ea581601c4510f7c5704c22607..6d26dc89c5e7a421f4f8807728928eee91aa5f7e:/utils/dialoged/src/dialoged.h?ds=sidebyside diff --git a/utils/dialoged/src/dialoged.h b/utils/dialoged/src/dialoged.h index 72abac89c1..7c9770730f 100644 --- a/utils/dialoged/src/dialoged.h +++ b/utils/dialoged/src/dialoged.h @@ -19,23 +19,16 @@ #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() };