mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Range check error (fixes #1292)
This commit is contained in:
parent
493987e2e4
commit
a7f80e5fd1
1 changed files with 4 additions and 0 deletions
|
|
@ -251,7 +251,11 @@ begin
|
|||
inherited CreateParams(Params);
|
||||
if FParentWindow <> 0 then
|
||||
begin
|
||||
// It doesn't affect anything under GTK2 and raise
|
||||
// a range check error (LCLGTK2 bug in the function CreateWidgetInfo)
|
||||
{$IFNDEF LCLGTK2}
|
||||
Params.Style := Params.Style or WS_POPUP;
|
||||
{$ENDIF}
|
||||
Params.WndParent := FParentWindow;
|
||||
end;
|
||||
end;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue