summaryrefslogtreecommitdiff
path: root/FL/Fl_Scrollbar.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2008-12-26 23:13:17 +0000
committerMatthias Melcher <fltk@matthiasm.com>2008-12-26 23:13:17 +0000
commita3589a181717329808ec595edce8e68629b7ade2 (patch)
tree9adaa000f40c6c98ae0ae7652af238e363a5b81c /FL/Fl_Scrollbar.H
parent230dbce86db7f39ae2a98f730205e0472403e694 (diff)
STR 2087: made Fl_Scrollbar::value() 'const' which braks the ABI.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6604 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Scrollbar.H')
-rw-r--r--FL/Fl_Scrollbar.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Scrollbar.H b/FL/Fl_Scrollbar.H
index 0843b4394..93b123c93 100644
--- a/FL/Fl_Scrollbar.H
+++ b/FL/Fl_Scrollbar.H
@@ -71,7 +71,7 @@ public:
position changes (even if in response to a callback from this
scrollbar). All necessary calls to redraw() are done.
*/
- int value() {return int(Fl_Slider::value());}
+ int value() const {return int(Fl_Slider::value());}
/** See int Fl_Scrollbar::value() */
int value(int p, int s, int top, int total) {
return scrollvalue(p, s, top, total);