mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-15 18:39:09 +02:00
LCL, gtk2, corrects PGtkWidget to Handle conversion under FreeBSD 64bits it fix LazReport AV on showing report designer, issue #26354
git-svn-id: trunk@45598 -
This commit is contained in:
parent
e36d6f373e
commit
4af1d3acba
@ -219,7 +219,7 @@ begin
|
|||||||
DebugGtkWidgets.MarkCreated(Widget, dbgsName(AWinControl));
|
DebugGtkWidgets.MarkCreated(Widget, dbgsName(AWinControl));
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
Result := THandle({%H-}PtrUInt(Widget));
|
Result := HWND({%H-}PtrUInt(Widget));
|
||||||
if Result = 0 then Exit;
|
if Result = 0 then Exit;
|
||||||
|
|
||||||
WidgetInfo := GetWidgetInfo(Widget); // Widget info already created in CreateAPIWidget
|
WidgetInfo := GetWidgetInfo(Widget); // Widget info already created in CreateAPIWidget
|
||||||
|
Loading…
Reference in New Issue
Block a user