X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/71e030352d74e4e6aed28cfcb0ea6edf3d17af6e..97f278b45316c0e6eca8d721bca94e45c1c771a2:/include/wx/univ/menu.h diff --git a/include/wx/univ/menu.h b/include/wx/univ/menu.h index 3daa74e772..774ef724bd 100644 --- a/include/wx/univ/menu.h +++ b/include/wx/univ/menu.h @@ -12,7 +12,7 @@ #ifndef _WX_UNIV_MENU_H_ #define _WX_UNIV_MENU_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "univmenu.h" #endif @@ -24,7 +24,7 @@ // fwd declarations class WXDLLEXPORT wxMenuInfo; -WX_DECLARE_OBJARRAY(wxMenuInfo, wxMenuInfoArray); +WX_DECLARE_EXPORTED_OBJARRAY(wxMenuInfo, wxMenuInfoArray); class WXDLLEXPORT wxMenuGeometryInfo; class WXDLLEXPORT wxPopupMenuWindow; @@ -115,6 +115,9 @@ private: // common part of all ctors void Init(); + // terminate the current radio group, if any + void EndRadioGroup(); + // the exact menu geometry is defined by a struct derived from this one // which is opaque and defined by the renderer wxMenuGeometryInfo *m_geometry; @@ -127,6 +130,9 @@ private: wxAcceleratorTable m_accelTable; #endif // wxUSE_ACCEL + // the position of the first item in the current radio group or -1 + int m_startRadioGroup; + // it calls out OnDismiss() friend class wxPopupMenuWindow; DECLARE_DYNAMIC_CLASS(wxMenu)