mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:39:44 +02:00
Merged revision(s) 65448 #531d436ce1 from trunk:
DockedFormEditor: Check for WidgetSet LCLWin32 and LCLWin64. Issue #39222. ........ git-svn-id: branches/fixes_2_2@65451 -
This commit is contained in:
parent
818acbe9bf
commit
477277baf2
@ -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