Yes but according to that documentation the function takes only 1 argument, while I need to pass the item ID and ture/false. Anyway in my wxWidgets implementation there happens to be such an overload. Thanks anyway.
- Geto
You'd run the function on the wxMenuItem in question.
- Biffen
1 Answers
1
votes
void Check(int itemid, bool check) is of wxMenu.
virtual void Check( bool check = true ) is of wxMenuItem.
They both can check or uncheck the menu item.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
virtual void wxMenuItem::Check(bool check = true)- BiffenwxMenuItemin question. - Biffen