wxListCtrl InsertItem problem on MAC
Posted: 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
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
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")
Do I miss something? Calling InsertItem should actually do an insert and not a replace.
Frank