Il 10/02/2016 12:31, zeljko ha scritto:
On 02/10/2016 11:19 AM, Giuliano Colla wrote:

This I believe to be the problem. From the observations from Denis I
realized that my code isn't protected against recursion, but I believe
that Application.ProcessMessages should protect itself too, avoiding to
handle more than once the same message.

But where ? In LCL or per widgetset ?


I don't know. I did look into the code a long time ago, and I seem to remember that the main loop is handled differently: some widgetsets do rely on LCL, some on their main loop. I was hoping that someone more knowledgeable than me would say "oh yes, the right spot is just here!". If such is not the case, I'll try, as soon as I have some time (which I don't have at the moment), to look again into the matter, and possibly suggest a patch.

Giuliano


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to