mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 19:20:38 +02:00
* some dummy implementations of delphi compatibility stuff
git-svn-id: trunk@7673 -
This commit is contained in:
parent
7b47ebff6b
commit
87f87bce0b
@ -35,6 +35,12 @@ uses
|
|||||||
type
|
type
|
||||||
TWndMethod = procedure(var msg : TMessage) of object;
|
TWndMethod = procedure(var msg : TMessage) of object;
|
||||||
|
|
||||||
|
function MakeObjectInstance(Method: TWndMethod): Pointer;
|
||||||
|
procedure FreeObjectInstance(ObjectInstance: Pointer);
|
||||||
|
|
||||||
|
function AllocateHWnd(Method: TWndMethod): HWND;
|
||||||
|
procedure DeallocateHWnd(Wnd: HWND);
|
||||||
|
|
||||||
{$i classesh.inc}
|
{$i classesh.inc}
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
@ -45,6 +51,34 @@ uses
|
|||||||
{ OS - independent class implementations are in /inc directory. }
|
{ OS - independent class implementations are in /inc directory. }
|
||||||
{$i classes.inc}
|
{$i classes.inc}
|
||||||
|
|
||||||
|
function MakeObjectInstance(Method: TWndMethod): Pointer;
|
||||||
|
begin
|
||||||
|
{ dummy }
|
||||||
|
runerror(217);
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
procedure FreeObjectInstance(ObjectInstance: Pointer);
|
||||||
|
begin
|
||||||
|
{ dummy }
|
||||||
|
runerror(217);
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
function AllocateHWnd(Method: TWndMethod): HWND;
|
||||||
|
begin
|
||||||
|
{ dummy }
|
||||||
|
runerror(217);
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
|
procedure DeallocateHWnd(Wnd: HWND);
|
||||||
|
begin
|
||||||
|
{ dummy }
|
||||||
|
runerror(217);
|
||||||
|
end;
|
||||||
|
|
||||||
|
|
||||||
initialization
|
initialization
|
||||||
CommonInit;
|
CommonInit;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user