LCL, Win32: don't check for zero in TWin32WidgetSet.SetAppHandle, requested by accSone

git-svn-id: trunk@43986 -
This commit is contained in:
maxim 2014-02-09 19:54:57 +00:00
parent d5e1ced666
commit 1bea33f5ba

View File

@ -728,9 +728,7 @@ end;
procedure TWin32WidgetSet.SetAppHandle(const AValue: THandle);
begin
// Do it only if handle is not yet created (for example for DLL initialization)
// if handle is already created we can't reassign it
if AppHandle = 0 then
FAppHandle := AValue;
FAppHandle := AValue;
end;
function TWin32WidgetSet.GetDotsPatternBitmap: HBitmap;