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;