lcl: gtk2: fixed compilation

git-svn-id: trunk@53319 -
This commit is contained in:
mattias 2016-11-08 15:53:44 +00:00
parent 8f1ee7af01
commit f8c567425b

View File

@ -4,13 +4,15 @@ unit gtk2windows;
interface
{$ifdef Windows}
uses
Windows;
function GetWin32AppHandle: THandle; // Beware LCLType.THandle <> Windows.THandle
{$endif}
implementation
{$ifdef Windows}
const
ClsName: array[0..6] of char = 'Window'#0;
PrivateAppHandle: THandle = 0;
@ -50,5 +52,6 @@ finalization
Windows.UnregisterClass(@ClsName, System.HInstance);
end;
{$endif}
end.