mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 06:18:21 +02:00
lcl: gtk2: fixed compilation
git-svn-id: trunk@53319 -
This commit is contained in:
parent
8f1ee7af01
commit
f8c567425b
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user