From e8fba0a729615ed69b911f06d3def1be75fb16c7 Mon Sep 17 00:00:00 2001 From: macpgmr Date: Thu, 23 Dec 2010 03:44:26 +0000 Subject: [PATCH] Eliminated another endless loop with GTK2 git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1406 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/thtmlport/package/htmlview.pas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/thtmlport/package/htmlview.pas b/components/thtmlport/package/htmlview.pas index 6a85d4516..efcca3516 100755 --- a/components/thtmlport/package/htmlview.pas +++ b/components/thtmlport/package/htmlview.pas @@ -4336,7 +4336,9 @@ end; procedure ThtmlViewer.PaintWindow(DC: HDC); begin PaintPanel.RePaint; -BorderPanel.RePaint; +{$IFNDEF LCL} +BorderPanel.RePaint; //Causes endless loop for some reason on gtk2. +{$ENDIF} VScrollbar.RePaint; HScrollbar.RePaint; end;