diff options
| author | Manolo Gouy <Manolo> | 2015-05-25 05:46:04 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-05-25 05:46:04 +0000 |
| commit | 2987b6a02bc7e8365b8791cce2ba0fe30d96ea9f (patch) | |
| tree | 49214045313db8157febfd62bd5efe70ff393e47 /FL | |
| parent | 97fe01b415961a99a694f9df7acf4ccfa4174cf5 (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Sys_Menu_Bar.H | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FL/Fl_Sys_Menu_Bar.H b/FL/Fl_Sys_Menu_Bar.H index 0c5b50cbf..a3cf521d9 100644 --- a/FL/Fl_Sys_Menu_Bar.H +++ b/FL/Fl_Sys_Menu_Bar.H @@ -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 |
