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 ) );
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to