I am using a wxWidgets ListCtrl component in report view. I'm adding some items to it (between 10 and 50) at certain time intervals, intervals that depend on the work being done between two adds. My problem is that I would like to see what has just been added immediately. For example, I might add 10 items very fast and then add a new one every 5 seconds until I have added 20. The problem is, these 10 won't display as they're added. All 20 will be displayed at once. I've tried adding Sleep() in certain parts of the code, but it doesn't seem to help. I'm using windows and the gnu gcc compiler.
Any idea how to fix this?