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:
Vadim Zeitlin
2002-03-21 02:35:08 +00:00
parent aae736694e
commit 0472ece753
10 changed files with 196 additions and 52 deletions

View File

@@ -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)
};