STR 2406: Fl_Widget::measure_label made const

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7776 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Matthias Melcher
2010-10-30 19:18:05 +00:00
parent a04cc6b3ce
commit 2ca4600a7e
+1 -1
View File
@@ -918,7 +918,7 @@ public:
/** Sets width ww and height hh accordingly with the label size. /** Sets width ww and height hh accordingly with the label size.
Labels with images will return w() and h() of the image. Labels with images will return w() and h() of the image.
*/ */
void measure_label(int& ww, int& hh) {label_.measure(ww, hh);} void measure_label(int& ww, int& hh) const {label_.measure(ww, hh);}
/** Returns a pointer to the primary Fl_Window widget. /** Returns a pointer to the primary Fl_Window widget.
\retval NULL if no window is associated with this widget. \retval NULL if no window is associated with this widget.