Author: matt
Date: 2010-10-30 12:18:05 -0700 (Sat, 30 Oct 2010)
New Revision: 7776
Log:
STR 2406: Fl_Widget::measure_label made const

Modified:
   branches/branch-1.3/FL/Fl_Widget.H

Modified: branches/branch-1.3/FL/Fl_Widget.H
===================================================================
--- branches/branch-1.3/FL/Fl_Widget.H  2010-10-30 18:21:40 UTC (rev 7775)
+++ branches/branch-1.3/FL/Fl_Widget.H  2010-10-30 19:18:05 UTC (rev 7776)
@@ -918,7 +918,7 @@
   /** Sets width ww and height hh accordingly with the label size.
       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.
       \retval  NULL if no window is associated with this widget.  

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to