#define _WX_UNIV_MENU_H_
#ifdef __GNUG__
- #pragma interface "menu.h"
+ #pragma interface "univmenu.h"
#endif
#if wxUSE_ACCEL
class WXDLLEXPORT wxMenuInfo;
WX_DECLARE_OBJARRAY(wxMenuInfo, wxMenuInfoArray);
-class wxPopupMenuWindow;
-
+class WXDLLEXPORT wxMenuGeometryInfo;
+class WXDLLEXPORT wxPopupMenuWindow;
class WXDLLEXPORT wxRenderer;
-// ----------------------------------------------------------------------------
-// wxMenu helper classes, used in implementation only
-// ----------------------------------------------------------------------------
-
-// used by wxRenderer
-class WXDLLEXPORT wxMenuGeometryInfo
-{
-public:
- // get the total size of the menu
- virtual wxSize GetSize() const = 0;
-
- virtual ~wxMenuGeometryInfo();
-};
-
// ----------------------------------------------------------------------------
// wxMenu
// ----------------------------------------------------------------------------
#endif // wxUSE_ACCEL
// it calls out OnDismiss()
- friend wxPopupMenuWindow;
-
+ friend class wxPopupMenuWindow;
DECLARE_DYNAMIC_CLASS(wxMenu)
};
bool m_shouldShowMenu;
// it calls out ProcessMouseEvent()
- friend wxPopupMenuWindow;
+ friend class wxPopupMenuWindow;
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxMenuBar)