X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b8b0e7ca05ae2ea581601c4510f7c5704c22607..ccdcde00d9ae27ca20ff6c3c9495918a0ec725aa:/utils/dialoged/src/dialoged.h 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() };