[...]
>
> IIRC, Fl_Scrollbar subclasses from Fl_Slider, and Fl_Slider from
> Fl_Valuator,
> and all are public, so a reference to Fl_Scrollbar::value(double)
> should be able to find the value(double) with no weird casting.
>
> Microsoft's v8 compiler can call Fl_Scrollbar::value(double)
> [which ends up calling Fl_Valuator::value(double)], but it would appear
> Microsoft's *v9* compiler cannot, which doesn't make sense to me.
Greg, does the following compile in your environment? It shouldn't,
and doesn't in mine.
class B {
public:
int value(double) { return 1; }
};
class D : public B {
public:
int value(int, int, int, int) { return 2; }
};
int main()
{
D d;
return d.value(1.5);
}
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk