mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 16:38:17 +02:00
DockedFormEditor: Check for WidgetSet LCLWin32 and LCLWin64. Issue #39222.
git-svn-id: trunk@65448 -
This commit is contained in:
parent
a3f05509f0
commit
531d436ce1
@ -121,7 +121,7 @@ begin
|
||||
end;
|
||||
|
||||
case Msg.msg of
|
||||
{$IFDEF Win32}
|
||||
{$IF Defined(LCLWin32) or Defined(LCLWin64)}
|
||||
// we need to correct ActiveEditor to right form
|
||||
// this code works correctly on Windows platform
|
||||
// (is necessery for selecting controls after form resizing).
|
||||
|
@ -135,7 +135,7 @@ end;
|
||||
function TFormAccess.ClientOffset: TPoint;
|
||||
begin
|
||||
Result := Point(0, 0);
|
||||
{$IFDEF Win32}
|
||||
{$IF Defined(LCLWin32) or Defined(LCLWin64)}
|
||||
Result.X := GetSystemMetrics(SM_CXSIZEFRAME);
|
||||
Result.Y := GetSystemMetrics(SM_CYSIZEFRAME) + GetSystemMetrics(SM_CYCAPTION);
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user