mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 19:20:38 +02:00
android: Fixes running a simple app with a window
git-svn-id: trunk@31914 -
This commit is contained in:
parent
b51ae032ac
commit
c7b1f2e3d6
@ -28,6 +28,7 @@ interface
|
||||
|
||||
uses
|
||||
// Android Bindings
|
||||
android_all, androidapp, androidpipescomm,
|
||||
// FPC
|
||||
Classes, SysUtils, Math, Types, maps,
|
||||
// LCL}
|
||||
|
@ -156,9 +156,8 @@ end;
|
||||
------------------------------------------------------------------------------}
|
||||
procedure TAndroidWidgetSet.AppRun(const ALoop: TApplicationMainLoop);
|
||||
begin
|
||||
// use LCL loop
|
||||
// if Assigned(ALoop) then
|
||||
// ALoop;
|
||||
vAndroidPipesComm.onCreateFinished();
|
||||
vAndroidPipesComm.MessageLoop();
|
||||
end;
|
||||
|
||||
{------------------------------------------------------------------------------
|
||||
|
@ -573,9 +573,8 @@ end;
|
||||
|
||||
function RegisterCustomForm: Boolean; alias : 'WSRegisterCustomForm';
|
||||
begin
|
||||
Result := False;
|
||||
// RegisterWSComponent(TCustomForm, TGtk2WSCustomForm);
|
||||
// Result := True;
|
||||
RegisterWSComponent(TCustomForm, TAndroidWSCustomForm);
|
||||
Result := True;
|
||||
end;
|
||||
|
||||
function RegisterHintWindow: Boolean; alias : 'WSRegisterHintWindow';
|
||||
|
Loading…
Reference in New Issue
Block a user