mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 05:09:10 +02:00
lcl: remove unneeded SetFocusedForm argument
git-svn-id: trunk@25301 -
This commit is contained in:
parent
0868cb6177
commit
b7e13f130d
@ -942,7 +942,7 @@ type
|
||||
function GetWidth : Integer;
|
||||
procedure AddForm(AForm: TCustomForm);
|
||||
procedure RemoveForm(AForm: TCustomForm);
|
||||
function SetFocusedForm(AForm: TCustomForm; AModal: Boolean): Boolean;
|
||||
function SetFocusedForm(AForm: TCustomForm): Boolean;
|
||||
procedure SetCursor(const AValue: TCursor);
|
||||
procedure SetCursors(AIndex: Integer; const AValue: HCURSOR);
|
||||
procedure SetHintFont(const AValue: TFont);
|
||||
|
@ -2216,7 +2216,7 @@ begin
|
||||
begin
|
||||
Control.ControlState := Control.ControlState + [csFocusing];
|
||||
try
|
||||
if not Screen.SetFocusedForm(Self, False) then
|
||||
if not Screen.SetFocusedForm(Self) then
|
||||
Exit;
|
||||
// update ActiveControls of all parent forms
|
||||
CurControl := Control.Parent;
|
||||
|
@ -763,7 +763,7 @@ begin
|
||||
Application.UpdateVisible;
|
||||
end;
|
||||
|
||||
function TScreen.SetFocusedForm(AForm: TCustomForm; AModal: Boolean): Boolean;
|
||||
function TScreen.SetFocusedForm(AForm: TCustomForm): Boolean;
|
||||
var
|
||||
LastState: TFocusState;
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user