Finally it came down to how I was adding the column to the list control:
This worked:
listCtrl:InsertColumn(0, "Test")
which I picked from bindings
compared to what I was doing before was:
local col = wx.wxListItem()
col:SetId(0)
listCtrl:InsertColumn(0,col)
I don't unders
I tried bindings.wx.lua and that shows the listing fine on the main window.
I then changed listCtrl in my example from wxListCtrl to wxListView and I
still did not see anything so I need to look into the differences between
bindings and the minimal listing I sent earlier. If you have any
suggestion
On Tue, Feb 21, 2012 at 2:26 PM, Milind Gupta 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
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 eleme
On Tue, Feb 21, 2012 at 3:44 AM, Milind Gupta 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 Freez
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
but still nothing. The List Control is created like:
SelList = wx.wxListCtrl(
Hi,
I wrote the following code to insert "item" which is a string into a
wxListCtrl which is ListBox. But at the end no item is added to the List
Control. It works fine on windows though. Basically it places the new item
so the list remains sorted and then places the item. At the first run
i