On Wednesday 20 of April 2011 17:29:24 Michael Schnell wrote: > On 04/20/2011 05:04 PM, Henry Vermaak wrote: > > On 20/04/11 16:03, Michael Schnell wrote: > >> On 04/20/2011 04:50 PM, Henry Vermaak wrote: > >>> Hehe, we're saying the same thing, but talking past each other. I > >>> commented exactly this (with a patch) on the bug tracker, it seems to > >>> work for gtk2, can you test with qt? > >> > >> Is this really this simple ? > > > > Why not? The workaround is only one line, after all. > > > > Please test your synchronise bug report again, I can't reproduce it. > > > > Henry > > Unfortunately LCL does not seem to export WakeUpMainThread() or > g_main_context_wakeup(), so I can't test it. :-( .
What do you mean by that ? WakeUpMainThread() IS THERE and it works ok, just tested Henry's patch .... gtk,gtk2,qt (linux), win32 (under wine) - example from http://bugs.freepascal.org/view.php?id=13120 works perfect. Now rebuilding laz with that patch to see if something bad can happen with that patch. zeljko -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus