mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 00:49:18 +02:00
added more Delphi win32 compatibility functions
git-svn-id: trunk@1967 -
This commit is contained in:
parent
b1851a66dc
commit
e376417311
@ -1452,8 +1452,8 @@ begin
|
|||||||
|
|
||||||
LM_NB_UpdateTab: UpdateNotebookPageTab(nil,TPage(Sender));
|
LM_NB_UpdateTab: UpdateNotebookPageTab(nil,TPage(Sender));
|
||||||
|
|
||||||
LB_GETTOPINDEX: Result:=GetTopIndex(Sender);
|
LM_LB_GETTOPINDEX: Result:=GetTopIndex(Sender);
|
||||||
LB_SETTOPINDEX: Result:=SetTopIndex(Sender,integer(Data));
|
LM_LB_SETTOPINDEX: Result:=SetTopIndex(Sender,integer(Data));
|
||||||
|
|
||||||
else begin
|
else begin
|
||||||
handle := hwnd(ObjectToGtkObject(Sender));
|
handle := hwnd(ObjectToGtkObject(Sender));
|
||||||
@ -6164,7 +6164,6 @@ function TgtkObject.NewGDIObject(const GDIType: TGDIType): PGdiObject;
|
|||||||
begin
|
begin
|
||||||
Assert(False, Format('Trace:> [TgtkObject.NewGDIObject]', []));
|
Assert(False, Format('Trace:> [TgtkObject.NewGDIObject]', []));
|
||||||
Result:=GtkDef.NewPGDIObject;
|
Result:=GtkDef.NewPGDIObject;
|
||||||
FillChar(Result^,SizeOf(TGDIObject),0);
|
|
||||||
Result^.GDIType := GDIType;
|
Result^.GDIType := GDIType;
|
||||||
FGDIObjects.Add(Result);
|
FGDIObjects.Add(Result);
|
||||||
//writeln('[TgtkObject.NewGDIObject] ',HexStr(Cardinal(Result),8),' ',FGDIObjects.Count);
|
//writeln('[TgtkObject.NewGDIObject] ',HexStr(Cardinal(Result),8),' ',FGDIObjects.Count);
|
||||||
@ -6821,6 +6820,9 @@ end;
|
|||||||
{ =============================================================================
|
{ =============================================================================
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.310 2002/12/27 17:12:38 mattias
|
||||||
|
added more Delphi win32 compatibility functions
|
||||||
|
|
||||||
Revision 1.309 2002/12/27 10:23:40 mattias
|
Revision 1.309 2002/12/27 10:23:40 mattias
|
||||||
implemented TListBox.TopIndex
|
implemented TListBox.TopIndex
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user