From 538a1c62eec21c06b2e6eee5aa0c08fdcdcc63f9 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 17 Aug 2006 08:43:50 +0000 Subject: Fl_Tabs::value() is now const as described in the documentation (STR #1379) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5319 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Tabs.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Fl_Tabs.cxx b/src/Fl_Tabs.cxx index 02bac39a1..787765ab8 100644 --- a/src/Fl_Tabs.cxx +++ b/src/Fl_Tabs.cxx @@ -231,7 +231,7 @@ int Fl_Tabs::push(Fl_Widget *o) { // are visible) and this also hides any other children. // This allows the tabs to be deleted, moved to other groups, and // show()/hide() called without it screwing up. -Fl_Widget* Fl_Tabs::value() { +Fl_Widget* Fl_Tabs::value() const { Fl_Widget* v = 0; Fl_Widget*const* a = array(); for (int i=children(); i--;) { -- cgit v1.2.3