mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 15:20:30 +02:00
MG: added error message, when lcl has abstract widget interface object
git-svn-id: trunk@632 -
This commit is contained in:
parent
800dd8c2b9
commit
7972a2ff38
@ -173,7 +173,7 @@ end;
|
||||
{------------------------------------------------------------------------------}
|
||||
procedure TApplication.Initialize;
|
||||
begin
|
||||
if InterfaceObject=nil then begin
|
||||
if AnsiCompareText(InterfaceObject.Classname,'TINTERFACEBASE')=0 then begin
|
||||
writeln('ERROR: no widget interface object. Did u compile an abstract LCL?');
|
||||
raise Exception.Create(
|
||||
'No widget interface object. Did u compile an abstract LCL?');
|
||||
@ -394,6 +394,9 @@ end;
|
||||
{ =============================================================================
|
||||
|
||||
$Log$
|
||||
Revision 1.17 2002/01/27 23:35:33 lazarus
|
||||
MG: added error message, when lcl has abstract widget interface object
|
||||
|
||||
Revision 1.16 2002/01/27 23:24:37 lazarus
|
||||
MG: added error message, when lcl founds no widget interface object
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user