You've already forked lazarus-ccr
SpkToolbar: Fix compilation after Laz-trunk r55713
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6005 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -535,7 +535,11 @@ begin
|
||||
//inherited AlignWithMargins:=true;
|
||||
|
||||
if AOwner is TForm then
|
||||
{$IF LCL_FullVersion >= 1090000}
|
||||
DesignDPI := TForm(AOwner).DesignTimePPI
|
||||
{$ELSE}
|
||||
DesignDPI := TForm(AOwner).DesignTimeDPI
|
||||
{$ENDIF}
|
||||
else
|
||||
DesignDPI := ScreenInfo.PixelsPerInchX;
|
||||
|
||||
|
Reference in New Issue
Block a user