]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/menu.h
wxMac: wxUniversal integration steps
[wxWidgets.git] / include / wx / univ / menu.h
index 1dbc2b334597304aaa6c6dc5fdfb91a01b379326..c8f14231eb37c7fd2cc766f6185de09e230ba83e 100644 (file)
@@ -142,8 +142,11 @@ private:
 #endif // wxUSE_ACCEL
 
     // it calls out OnDismiss()
+#ifdef __WXMAC__
+    friend class wxPopupMenuWindow;
+#else
     friend wxPopupMenuWindow;
-
+#endif
     DECLARE_DYNAMIC_CLASS(wxMenu)
 };
 
@@ -275,7 +278,11 @@ private:
     bool m_shouldShowMenu;
 
     // it calls out ProcessMouseEvent()
+#ifdef __WXMAC__
+    friend class wxPopupMenuWindow;
+#else
     friend wxPopupMenuWindow;
+#endif
 
     DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS(wxMenuBar)