Added void Fl_Sys_Menu_Bar::setonly(Fl_Menu_Item*) member function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10738 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
97fe01b415
commit
2987b6a02b
@ -88,7 +88,9 @@ public:
|
||||
int mode(int i) const { return Fl_Menu_::mode(i); }
|
||||
/** Changes the shortcut of item i to n.
|
||||
*/
|
||||
void shortcut (int i, int s) { Fl_Menu_::shortcut(i, s); update(); };
|
||||
void shortcut (int i, int s) { Fl_Menu_::shortcut(i, s); update(); }
|
||||
/** Turns the radio item "on" for the menu item and turns "off" adjacent radio items of the same group.*/
|
||||
void setonly (Fl_Menu_Item *item) { Fl_Menu_::setonly(item); update(); }
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user