]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/dialoged/src/dialoged.h
Removed treelay sample
[wxWidgets.git] / utils / dialoged / src / dialoged.h
index fae9807806bba9e76eae1cf36974fab5491020fe..505ffa8888c3223420aefad6077a2d4cfe6c55b0 100644 (file)
@@ -9,7 +9,7 @@
 // Licence:    wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "dialoged.h"
 #endif
 
 #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()
 };