From c6b97150124a629b143447f22df3b765d9cb7a3a Mon Sep 17 00:00:00 2001 From: mattias Date: Fri, 2 Apr 2004 20:44:08 +0000 Subject: [PATCH] fixed LM_LV_AddItem message in gtk intf from Andrew H. git-svn-id: trunk@5362 - --- docs/Contributors.txt | 9 +++++---- lcl/interfaces/gtk/gtkobject.inc | 7 +++++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/Contributors.txt b/docs/Contributors.txt index a6ba70a2ec..810c846e2f 100644 --- a/docs/Contributors.txt +++ b/docs/Contributors.txt @@ -1,13 +1,14 @@ The following people contributed to Lazarus: -Andrew Johnson Andreas Hausladen +Andrew Haines +Andrew Johnson Bob Wingard Cliff Baeseman Colin Western Curtis White Darek Mazur -GongYu +GongYu Hans-Joachim Ott Jason King Jeffrey A. Wormsley @@ -18,16 +19,16 @@ Keith Bowes Luis R. Hilario B. Marc Weustink Martin Patik -Martin Smat +Martin Smat Martyn Ranyard Mattias Gaertner Michael A. Hess Micha Nelissen Michal Bukovjan Olivier Guilbaud +Peter Dyson Radek Cervinka Raul Moratalla -Peter Dyson Reimar Grabowski Samuel Liddicott Seppo Suutarla diff --git a/lcl/interfaces/gtk/gtkobject.inc b/lcl/interfaces/gtk/gtkobject.inc index 01b9a103a9..62498116e2 100644 --- a/lcl/interfaces/gtk/gtkobject.inc +++ b/lcl/interfaces/gtk/gtkobject.inc @@ -3156,8 +3156,8 @@ begin end; end else begin - ListViewAddItem(Sender,Integer(data^)); - ListViewChangeItem(Sender,Integer(data^)); + ListViewAddItem(Sender,-1); + ListViewChangeItem(Sender,TListView(Sender).Items.Count-1); end; end; @@ -9291,6 +9291,9 @@ end; { ============================================================================= $Log$ + Revision 1.486 2004/04/02 20:44:08 mattias + fixed LM_LV_AddItem message in gtk intf from Andrew H. + Revision 1.485 2004/03/28 12:49:22 mattias implemented mask merge and extraction for raw images