summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Ercolano <erco@seriss.com>2010-04-08 05:22:13 +0000
committerGreg Ercolano <erco@seriss.com>2010-04-08 05:22:13 +0000
commit63b746fabc73e4764817dcf8a6aacb233b524de9 (patch)
tree9c0fd78e5677560797c4386ed62420bc7b3c8680
parentf899c3897d62bd4f3c2d3bcaaf1ac5447ca8d158 (diff)
Doc fixes/additions.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7470 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--FL/Fl_Menu_.H2
-rw-r--r--src/Fl_Menu_.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Menu_.H b/FL/Fl_Menu_.H
index 20ec75e7d..5daec157d 100644
--- a/FL/Fl_Menu_.H
+++ b/FL/Fl_Menu_.H
@@ -52,7 +52,7 @@ class FL_EXPORT Fl_Menu_ : public Fl_Widget {
protected:
- uchar alloc;
+ uchar alloc; // flag indicates if menu_ is a dynamic copy (=1) or not (=0)
uchar down_box_;
Fl_Font textfont_;
Fl_Fontsize textsize_;
diff --git a/src/Fl_Menu_.cxx b/src/Fl_Menu_.cxx
index cc7ab3911..ce417bfa9 100644
--- a/src/Fl_Menu_.cxx
+++ b/src/Fl_Menu_.cxx
@@ -275,7 +275,7 @@ int Fl_Menu_::size() const {
Sets the menu array pointer directly. If the old menu is private it is
deleted. NULL is allowed and acts the same as a zero-length
menu. If you try to modify the array (with add(), replace(), or
- delete()) a private copy is automatically done.
+ remove()) a private copy is automatically done.
*/
void Fl_Menu_::menu(const Fl_Menu_Item* m) {
clear();