lazarus/components/vlc/vlcqt.inc
mattias 5adfbf21bf added lclvcl
git-svn-id: trunk@39254 -
2012-11-07 13:25:06 +00:00

15 lines
278 B
PHP

{%MainUnit lclvlc.pp}
uses qt45;
Function GetXHandle(AWinControl : TWinControl) : culong;
var
Widget: PGtkWidget;
begin
Result:=0;
if (AWinControl=nil) or (not AWinControl.HandleAllocated) then exit;
Result:=QWidget_winID(TQtWidget(AWinControl.Handle).Widget);
end;