* Fixed component compilation on Windows

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2634 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
loesje_
2013-01-21 18:11:54 +00:00
parent 7e3b60e61d
commit 1fe5f8e4a4
3 changed files with 3 additions and 3 deletions

View File

@ -2070,7 +2070,7 @@ var
{$ENDIF}
begin
{$IFDEF MSWINDOWS}
Result := Handle;
Result := nativeWindow(Handle);
{$ENDIF}
{$IFDEF LCLCarbon}
Result := nativeWindow(TCarbonWindow(Handle).Window);

View File

@ -172,7 +172,7 @@ var
AView : NSView;
{$ENDIF}
begin
{$IFDEF MSWINDOWS}Result := Handle;{$ENDIF}
{$IFDEF MSWINDOWS}Result := nativeWindow(Handle);{$ENDIF}
{$IFDEF LCLCarbon}Result := THANDLE(TCarbonWindow(Handle).Window);{$ENDIF}
//Carbon doesn't work but leave in so package compiles in Carbon IDE.

View File

@ -23,7 +23,7 @@ begin
P:=AddPackage('gecko') as TLazPackage;
p.AfterInstall := @TLazInstaller(Installer).DoRegisterLazarusPackages;
P.Version:='2.9.0-2';
P.Version:='2.9.0-3';
P.OSes:=AllUnixOSes+[Win32,Win64];
P.Author := 'Takanori Ito';
P.License := 'MPL 1.1';