X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71908213057690d5452f72b2b9c8e62b53357170..2b004197c8cea40b41632e86cf27857463f985b8:/include/wx/univ/menu.h diff --git a/include/wx/univ/menu.h b/include/wx/univ/menu.h index e5a5a3fa8e..1f507c6303 100644 --- a/include/wx/univ/menu.h +++ b/include/wx/univ/menu.h @@ -13,7 +13,7 @@ #define _WX_UNIV_MENU_H_ #ifdef __GNUG__ - #pragma interface "menu.h" + #pragma interface "univmenu.h" #endif #if wxUSE_ACCEL @@ -142,8 +142,7 @@ private: #endif // wxUSE_ACCEL // it calls out OnDismiss() - friend wxPopupMenuWindow; - + friend class wxPopupMenuWindow; DECLARE_DYNAMIC_CLASS(wxMenu) }; @@ -275,7 +274,7 @@ private: bool m_shouldShowMenu; // it calls out ProcessMouseEvent() - friend wxPopupMenuWindow; + friend class wxPopupMenuWindow; DECLARE_EVENT_TABLE() DECLARE_DYNAMIC_CLASS(wxMenuBar)