Re: [Lazarus] TreeView sometimes calls Refresh instead of Invalidate

2012-03-30 Thread cobines
OK, thank you. -- cobines -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TreeView sometimes calls Refresh instead of Invalidate

2012-03-30 Thread Juha Manninen
On Fri, Mar 30, 2012 at 5:51 AM, cobines wrote: > I posted patches: > > http://bugs.freepascal.org/view.php?id=21601 > http://bugs.freepascal.org/view.php?id=21602 > I applied them, thanks. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepa

Re: [Lazarus] TreeView sometimes calls Refresh instead of Invalidate

2012-03-29 Thread cobines
I posted patches: http://bugs.freepascal.org/view.php?id=21601 http://bugs.freepascal.org/view.php?id=21602 -- cobines -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TreeView sometimes calls Refresh instead of Invalidate

2012-03-29 Thread Juha Manninen
On Fri, Mar 30, 2012 at 12:25 AM, cobines wrote: > In the TreeView there are many calls to TreeView.Invalidate but > TTreeNodes.SetUpdateState and TTreeStrings.SetUpdateState call > TreeView.Refresh instead. Refresh calls TWidgetSet.UpdateWindow which > on Win32 and GTK2 causes repaint of the con

[Lazarus] TreeView sometimes calls Refresh instead of Invalidate

2012-03-29 Thread cobines
Hello. In the TreeView there are many calls to TreeView.Invalidate but TTreeNodes.SetUpdateState and TTreeStrings.SetUpdateState call TreeView.Refresh instead. Refresh calls TWidgetSet.UpdateWindow which on Win32 and GTK2 causes repaint of the control via synchronous WM_PAINT. QT4 seems to only po