Browse Source

Small documentation fix.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
pull/49/head
Greg Ercolano 15 years ago
parent
commit
bc3437bb15
  1. 2
      FL/Fl_Menu_.H

2
FL/Fl_Menu_.H

@ -116,7 +116,7 @@ public: @@ -116,7 +116,7 @@ public:
the new value is different than the old one.
*/
int value(int i) {return value(menu_+i);}
/** Returns the title of the last item chosen, or of item i. */
/** Returns the title of the last item chosen. */
const char *text() const {return value_ ? value_->text : 0;}
/** Returns the title of the last item chosen, or of item i. */
const char *text(int i) const {return menu_[i].text;}

Loading…
Cancel
Save