X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7bf07d2635c6ddb733e8b00923b2c6e0842b3a95..59af5f19d077fa88fad9bf6a01040f5af390da79:/utils/dialoged/src/dialoged.h diff --git a/utils/dialoged/src/dialoged.h b/utils/dialoged/src/dialoged.h index fae9807806..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) - { - return ObjectMenuProc((wxMenu *)event.GetEventObject(), event); - } - + private: DECLARE_EVENT_TABLE() };