X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e6feb95a79834836e88143b15d9f424ebe79621..0b165ed6b209ea9f5ddd7bfb1813c6f0718a9a3d:/include/wx/univ/menu.h diff --git a/include/wx/univ/menu.h b/include/wx/univ/menu.h index 6df7c27f6b..1e75af0763 100644 --- a/include/wx/univ/menu.h +++ b/include/wx/univ/menu.h @@ -5,7 +5,7 @@ // Modified by: // Created: 05.05.01 // RCS-ID: $Id$ -// Copyright: (c) 2001 Vadim Zeitlin +// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com) // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -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,7 @@ private: bool m_shouldShowMenu; // it calls out ProcessMouseEvent() - friend wxPopupMenuWindow; + friend class wxPopupMenuWindow; DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxMenuBar)