Il Mon, 09 Feb 2004 20:48:14 -0700 Mike Schroeder <MikeSchroeder@xxxxxxxxxxxxx>
ha scritto:
Hello,
> I am trying to get an event to add items to a ListCtrl. The
> following
> behaves as you would want in win32 (an item gets added to the
> ListCtrl,
> while in Linux (RH9/GTK), it seems to do nothing. I have searched
> the
> archives (is anyone else having problems with searching the
> sourceforge
> archives?) Anyone seen this behavior before?
The code tries to insert an item in position *1* in an empty listctrl.
On an empty listctrl the first position is 0. Correcting this fixes the code.
> (This script was generated by wxGlade and then edited down to save
> space
> in this email):
The most important saving was in debugging time, anyway ;-)
Regards
Mattia
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
|