mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-04 12:40:35 +01:00
LCL, Win32: don't check for zero in TWin32WidgetSet.SetAppHandle, requested by accSone
git-svn-id: trunk@43986 -
This commit is contained in:
parent
d5e1ced666
commit
1bea33f5ba
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user