]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/menu.h
Added support for delayed deactivation of windows (for MDI)
[wxWidgets.git] / include / wx / univ / menu.h
index 3daa74e772f5c3673b1d4d3d20ee26aaf2d4a0b8..4f1c1c888e62b29dc2403b59c1b4c1bc6ac09568 100644 (file)
@@ -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)