wxListCtrl InsertItem problem on MAC Topic is solved

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
frank_frl
Earned some good credits
Earned some good credits
Posts: 139
Joined: Sat Feb 18, 2006 1:41 pm
Location: Germany

wxListCtrl InsertItem problem on MAC

Post by frank_frl » Mon Apr 12, 2010 10:38 am

Hi to all,

I have a log window with a wxListCtrl inside. The newest entry should always be the first in the list, so I call

Code: Select all

pList->InsertItem(0,"Some text")
This works as expected on MSW, but on MAC it always replaces the first entry, so that the list is never filled.
Do I miss something? Calling InsertItem should actually do an insert and not a replace.

Frank
WinXp SP3, OS X10.5.5; CodeLite, Dialog::Blocks, wxWidgets 2.8.10

Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria » Mon Apr 12, 2010 3:13 pm

Hi,

unfortunately, this is a known bug : http://trac.wxwidgets.org/ticket/4492
"Keyboard not detected. Press F1 to continue"
-- Windows

frank_frl
Earned some good credits
Earned some good credits
Posts: 139
Joined: Sat Feb 18, 2006 1:41 pm
Location: Germany

Post by frank_frl » Mon Apr 12, 2010 4:30 pm

Auria wrote:Hi,

unfortunately, this is a known bug : http://trac.wxwidgets.org/ticket/4492
This ticket is opened 2 years ago and not fixed yet :cry:
Guess I have to find an other solution.

Frank
WinXp SP3, OS X10.5.5; CodeLite, Dialog::Blocks, wxWidgets 2.8.10

spectrum
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 207
Joined: Sat Jul 21, 2007 12:17 pm

Re: wxListCtrl InsertItem problem on MAC

Post by spectrum » Thu Aug 04, 2011 10:39 pm

hi all

this thread has been marked as solved, but seems theris not any solution yet.
i have the same issue, anyone know a workaround ?

regards
angelo
spectrum

Post Reply