lcl: remove unneeded SetFocusedForm argument

git-svn-id: trunk@25301 -
This commit is contained in:
paul 2010-05-10 14:32:45 +00:00
parent 0868cb6177
commit b7e13f130d
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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;

View File

@ -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