On Tue, Feb 21, 2012 at 3:44 AM, Milind Gupta <milind.gu...@gmail.com> wrote:
> After digging a bit deeper I find that the items are added to the control
> since subsequent calls to InsertItem does detect them but they are not
> visible in the GUI. I tried setting the text foreground color also to black

Do you call Freeze() on it before adding the items and forget to call Thaw()?

I see that you are skipping every other item since you call
GetNextItem() twice, but only check the value of it once and more
dangerously, don't check that you haven't fallen off the end of the
list after the second call.

You could simply just add a few items where you know they'll be and
see if that works.

Regards,
    John

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to