summaryrefslogtreecommitdiff
path: root/FL/Fl_Menu_.H
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-06-15 04:47:28 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-06-15 04:47:28 +0000
commit17abd7136d8fb7f6b6a52f8158f899be9e41be5a (patch)
tree749638e817ddbc5af6c99e8fd8891331d02033f9 /FL/Fl_Menu_.H
parentaa88761194fd54f89d66ddf8fd90865d7ebae805 (diff)
Several widgets defined their own size() method but didn't
provide an inline method that mapped to the Fl_Widget::size() method (STR #62) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3033 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Menu_.H')
-rw-r--r--FL/Fl_Menu_.H5
1 files changed, 3 insertions, 2 deletions
diff --git a/FL/Fl_Menu_.H b/FL/Fl_Menu_.H
index a52e2c016..7e52f028f 100644
--- a/FL/Fl_Menu_.H
+++ b/FL/Fl_Menu_.H
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Menu_.H,v 1.7.2.4.2.6 2003/01/30 21:39:32 easysw Exp $"
+// "$Id: Fl_Menu_.H,v 1.7.2.4.2.7 2003/06/15 04:47:28 easysw Exp $"
//
// Menu base class header file for the Fast Light Tool Kit (FLTK).
//
@@ -60,6 +60,7 @@ public:
int add(const char* a, const char* b, Fl_Callback* c,
void* d = 0, int e = 0) {return add(a,fl_old_shortcut(b),c,d,e);}
int size() const ;
+ void size(int W, int H) { Fl_Widget::size(W, H); }
void clear();
int add(const char *);
void replace(int,const char *);
@@ -93,5 +94,5 @@ public:
#endif
//
-// End of "$Id: Fl_Menu_.H,v 1.7.2.4.2.6 2003/01/30 21:39:32 easysw Exp $".
+// End of "$Id: Fl_Menu_.H,v 1.7.2.4.2.7 2003/06/15 04:47:28 easysw Exp $".
//