mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 17:39:23 +02:00
win32: make r52296 #b33c0dba1b active only in a library. Issue #18624
git-svn-id: trunk@52297 -
This commit is contained in:
parent
b33c0dba1b
commit
d41a4438c1
@ -1579,7 +1579,7 @@ const
|
||||
);
|
||||
begin
|
||||
MenuHandle := APopupMenu.Handle;
|
||||
if (Screen.ActiveCustomForm<>nil) and Screen.ActiveCustomForm.HandleAllocated then
|
||||
if IsLibrary and (Screen.ActiveCustomForm<>nil) and Screen.ActiveCustomForm.HandleAllocated then
|
||||
WinHandle:=Screen.ActiveCustomForm.Handle
|
||||
else
|
||||
WinHandle:=Win32WidgetSet.AppHandle;
|
||||
|
Loading…
Reference in New Issue
Block a user