X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7bf07d2635c6ddb733e8b00923b2c6e0842b3a95..642067e02a202feddc97255f1229e4e7378541d9:/utils/dialoged/src/dialoged.h?ds=sidebyside diff --git a/utils/dialoged/src/dialoged.h b/utils/dialoged/src/dialoged.h index fae9807806..505ffa8888 100644 --- a/utils/dialoged/src/dialoged.h +++ b/utils/dialoged/src/dialoged.h @@ -9,7 +9,7 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "dialoged.h" #endif @@ -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() };