win32 interface: clean up SC_RESTORE handling from Boguslaw

git-svn-id: trunk@10290 -
This commit is contained in:
vincents 2006-12-04 10:12:46 +00:00
parent 84eb5a5a3f
commit e2b9e5adbd

View File

@ -745,28 +745,17 @@ Var
Application.MainForm.HandleAllocated then
begin
//DebugLn('SC_MINIMIZE');
//LMessage.Msg := LM_NULL;
Application.IntfAppMinimize();
//LMessage.Result := 0;
end;
end;
end;
SC_RESTORE:
begin
if (Application <> nil) and (lWinControl<> nil) and
(Application.MainForm = lWinControl) then
Window := TWin32WidgetSet(WidgetSet).AppHandle;
if Window = TWin32WidgetSet(WidgetSet).AppHandle then
begin
if (Application <> nil) and (Application.MainForm <> nil) and
Application.MainForm.HandleAllocated then
begin
if Window = TWin32WidgetSet(WidgetSet).AppHandle then
begin
//DebugLn('SC_RESTORE');
//LMessage.Msg := LM_NULL;
Application.IntfAppRestore();
//LMessage.Result := 0;
end;
end;
end;
end;