]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/menu.h
wxTopLevelWindow (only for wxGTK for now)
[wxWidgets.git] / include / wx / univ / menu.h
index 6df7c27f6bf662e1049834cd9cf4346b725082f8..1f507c6303300c51cc07071b0ac85f81eed2fba3 100644 (file)
@@ -5,7 +5,7 @@
 // Modified by:
 // Created:     05.05.01
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
+// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -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)