[Fwd: bug in wxListCtrl for wxmac 2,9]

Riccardo Cohen rcohen at articque.com
Tue Oct 23 05:10:37 PDT 2007


just a word to know if you noticed this bug and if it is in the task 
list. thanks

-------- Original Message --------
Subject: bug in wxListCtrl for wxmac 2,9
Date: Wed, 03 Oct 2007 16:09:54 +0200
From: Riccardo Cohen <rcohen at articque.com>
Reply-To: wx-users at lists.wxwidgets.org
Organization: Articque
To: wx-users at lists.wxwidgets.org

Hi
I found a bug in wxListctrl mac 2,9:

wxListCtrl* list = new wxListCtrl( itemFrame1, uid_list,
wxDefaultPosition, wxSize(100, 200), wxLC_REPORT );

list->InsertColumn(0,newcol);
list->InsertItem(list->GetItemCount(),"0");
list->InsertItem(list->GetItemCount(),"1");
list->InsertItem(list->GetItemCount(),"2");
list->InsertItem(list->GetItemCount(),"3");
list->InsertItem(list->GetItemCount(),"4");
list->InsertItem(1,"NEW");

The last insert will put the item "1" at the end, and will empty its
label... (this works all right on windows & linux)

I tried to debug into wx source code until
wxMacDataItemBrowserControl::MacInsert , but could not find the error.

Thanks for any help


-- 
Très cordialement,

Riccardo Cohen
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wx-users-help at lists.wxwidgets.org



-- 
Très cordialement,

Riccardo Cohen
-------------------------------------------
Articque
http://www.articque.com
149 av Général de Gaulle
37230 Fondettes - France
tel : 02-47-49-90-49
fax : 02-47-49-91-49




More information about the wx-dev mailing list