X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3870b2ff595ba4bb4f0397ace77ceeb9628e94d..8366ae934aab9f835747b0c2e456231e8795fe78:/include/wx/univ/menu.h

diff --git a/include/wx/univ/menu.h b/include/wx/univ/menu.h
index 1dbc2b3345..1f507c6303 100644
--- a/include/wx/univ/menu.h
+++ b/include/wx/univ/menu.h
@@ -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)