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:
jesus 2014-06-22 07:56:31 +00:00
parent e36d6f373e
commit 4af1d3acba

View File

@ -219,7 +219,7 @@ begin
DebugGtkWidgets.MarkCreated(Widget, dbgsName(AWinControl));
{$ENDIF}
Result := THandle({%H-}PtrUInt(Widget));
Result := HWND({%H-}PtrUInt(Widget));
if Result = 0 then Exit;
WidgetInfo := GetWidgetInfo(Widget); // Widget info already created in CreateAPIWidget