mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-06 16:00:44 +02:00
Object Inspector: Test code for redraw errors in some Windows machines. Cleanup.
git-svn-id: trunk@46885 -
This commit is contained in:
parent
5b6597fee6
commit
a8e80b673c
@ -2630,8 +2630,11 @@ begin
|
|||||||
begin
|
begin
|
||||||
if FCurrentEdit is TCheckBox then
|
if FCurrentEdit is TCheckBox then
|
||||||
begin
|
begin
|
||||||
TCheckBox(FCurrentEdit).Top := EditCompRect.Top;
|
FCurrentEdit.Top := EditCompRect.Top;
|
||||||
TCheckBox(FCurrentEdit).Left := EditCompRect.Left;
|
FCurrentEdit.Left := EditCompRect.Left;
|
||||||
|
// For testing: Try to prevent redraw errors in some Windows machines.
|
||||||
|
//Canvas.Brush.Color := FBackgroundColor;
|
||||||
|
//Canvas.FillRect(EditCompRect);
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
FCurrentEdit.BoundsRect:=EditCompRect;
|
FCurrentEdit.BoundsRect:=EditCompRect;
|
||||||
|
Loading…
Reference in New Issue
Block a user