From 684a4533e23e691037a0bc97281a49ee6cadf0f4 Mon Sep 17 00:00:00 2001 From: yangjixian Date: Sun, 1 Sep 2013 05:11:20 +0000 Subject: [PATCH] make the form no black area on resize. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2782 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/spktoolbar/SpkGUITools/SpkGUITools.pas | 2 +- components/spktoolbar/SpkToolbar/SpkToolbar.pas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/spktoolbar/SpkGUITools/SpkGUITools.pas b/components/spktoolbar/SpkGUITools/SpkGUITools.pas index eebafef29..8d7a13144 100644 --- a/components/spktoolbar/SpkGUITools/SpkGUITools.pas +++ b/components/spktoolbar/SpkGUITools/SpkGUITools.pas @@ -1,4 +1,4 @@ -unit SpkGUITools; +unit SpkGUITools; {$mode ObjFpc} {$H+} diff --git a/components/spktoolbar/SpkToolbar/SpkToolbar.pas b/components/spktoolbar/SpkToolbar/SpkToolbar.pas index 37340a352..7e6b0fc06 100644 --- a/components/spktoolbar/SpkToolbar/SpkToolbar.pas +++ b/components/spktoolbar/SpkToolbar/SpkToolbar.pas @@ -954,7 +954,7 @@ begin SetBufferInvalid; if not(FInternalUpdating or FUpdating) then - Repaint; + invalidate; inherited; end;