Gtk2: TGtk2WidgetSet.InvalidateRect() do not update widget if we are already inside paint event.

git-svn-id: trunk@35402 -
This commit is contained in:
zeljko 2012-02-16 16:32:22 +00:00
parent c025a77731
commit 1a8e151f60

View File

@ -6463,10 +6463,9 @@ begin
begin begin
if (LCLObject=CurrentSentPaintMessageTarget) then if (LCLObject=CurrentSentPaintMessageTarget) then
begin begin
DebugLn('NOTE: TGtk2WidgetSet.InvalidateRect during paint message: ', DebugLn('WARNING: TGtk2WidgetSet.InvalidateRect refused invalidating during paint message: ',
LCLObject.ClassName); LCLObject.ClassName);
//DumpStack; exit(False);
//RaiseGDBException('Double paint');
end; end;
{$IFDEF VerboseDsgnPaintMsg} {$IFDEF VerboseDsgnPaintMsg}
if (LCLObject is TComponent) if (LCLObject is TComponent)