mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-25 14:39:11 +02:00
Small fix for the form background drawing disabling
git-svn-id: trunk@36703 -
This commit is contained in:
parent
b3d9e6e4a0
commit
80721245e5
@ -586,7 +586,7 @@ begin
|
||||
// Consider also if the user wants to manually disable the background drawing
|
||||
lDrawControl := True;
|
||||
if Assigned(CDWidgetset.DisableFormBackgroundDrawingProc) then
|
||||
lDrawControl := CDWidgetset.DisableFormBackgroundDrawingProc(AForm);
|
||||
lDrawControl := not CDWidgetset.DisableFormBackgroundDrawingProc(AForm);
|
||||
if lDrawControl then
|
||||
lDrawControl := lWindowHandle.IsControlBackgroundVisible() or (AForm.Height < AImage.Height);
|
||||
if lDrawControl then
|
||||
|
Loading…
Reference in New Issue
Block a user