Domingo Alvarez Duarte wrote:
> Today I'm converting one application to FLTK and found that Fl_Help_View
> doesn't call Fl_Help_View::link when user click's on a link, although
> the FLTK manual says that it does.
>
> I added this code to it temporary to make it works:
>
> void Fl_Help_View::follow_link( Fl_Help_Link *linkp ) {
> char target[32]; // Current target
>
> clear_selection();
>
> //new code begin
> if( link_ ) {
> if(!(*link_)(this, linkp->name)) return;
> }
> //new code end
>
> strlcpy( target, linkp->name, sizeof( target ) );

Thanks, please file an STR, so that it won't get lost...

http://www.fltk.org/str.php

It would be very helpful if you could attach your patch as
a "diff -u" or "svn diff" patch file.

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

Reply via email to