mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-21 07:08:52 +02:00
Gtk2: TGtk2WidgetSet.InvalidateRect() do not update widget if we are already inside paint event.
git-svn-id: trunk@35402 -
This commit is contained in:
parent
c025a77731
commit
1a8e151f60
@ -6463,10 +6463,9 @@ begin
|
||||
begin
|
||||
if (LCLObject=CurrentSentPaintMessageTarget) then
|
||||
begin
|
||||
DebugLn('NOTE: TGtk2WidgetSet.InvalidateRect during paint message: ',
|
||||
DebugLn('WARNING: TGtk2WidgetSet.InvalidateRect refused invalidating during paint message: ',
|
||||
LCLObject.ClassName);
|
||||
//DumpStack;
|
||||
//RaiseGDBException('Double paint');
|
||||
exit(False);
|
||||
end;
|
||||
{$IFDEF VerboseDsgnPaintMsg}
|
||||
if (LCLObject is TComponent)
|
||||
|
Loading…
Reference in New Issue
Block a user