Hi,
Am Sonntag, den 06.11.2005, 11:10 +0100 schrieb Marc Weustink:
> Mattias Gaertner wrote:
> > On Sun, 06 Nov 2005 08:14:42 +0100
> > dannym <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Hi,
> >>
> >>attached is an initial patch to make the gtk 2.6 filechooser work for
> >>lazarus (lcl).
> >>
> >>Still needs some gtk version detection magic I guess (if we want to
> >>support gtk2 < 2.6, that is)
> >>
> >>Note that gtk 2.8 contains:
> >>void gtk_file_chooser_set_do_overwrite_confirmation
> >> (GtkFileChooser *chooser,
> >> gboolean
> >> do_overwrite_confirmation);
> >>However, that's probably _too_ new ;)
> >
> >
> > Thanks for the patch. There are a few issues:
> >
> > - 2.4 is still used. Can you enclose the changes in {$IFDEF HasGTK2_6}?
>
> Maybe better, load those functions dynamic. And check at runtime if 2.6
> is available.
Patches welcome. I have no clue how to do that :)
(well, I know the part with the procedure type, but I don't know how to
dynamically load a function out of a library cross-platform)
>
> Marc
cheers,
Danny
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives