implemented radio menu items for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -60,7 +60,19 @@ public:
|
||||
// menu handle depending on what we're
|
||||
int GetRealId() const;
|
||||
|
||||
// mark item as belonging to the given radio group
|
||||
void SetRadioGroup(int start, int end)
|
||||
{
|
||||
m_startRadioGroup = start;
|
||||
m_endRadioGroup = end;
|
||||
}
|
||||
|
||||
private:
|
||||
// the positions of the first and last items of the radio group this item
|
||||
// belongs to or -1
|
||||
int m_startRadioGroup,
|
||||
m_endRadioGroup;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxMenuItem)
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user