From: John L. <jla...@gm...> - 2012-02-21 20:41:34
|
On Tue, Feb 21, 2012 at 2:26 PM, Milind Gupta <mil...@gm...> wrote: > Hi John, > Thanks for the reply. I created a minimal example (attached and > pasted). This example works fine in windows but doesn't show anything in > Linux. Also another thing I noticed in my original program is that when the > GUI is shown the list Controls in which I have added a lot of elements show > scroll bars also! But no elements are visible. This sounds odd, something very strange is going on. Can you select these hidden items? Is it a matter of having the text the same color as the background? Maybe as a theme setting? When you run the samples/bindings.wx.lua program does it work? You should see a wxListControl (actually a wxListView, but they're the same, the wxListView is derived and has a couple extra methods added) with about 20 items and if you click them you get a new list. I don't have access to a Linux machine right now, but I know that the bindings.wx.lua sample works in RedHat 6, Mandriva 2011, and Fedora 13 and 15. I see that it adds items exactly as you do as well. Regards, John |