XRCed and ListCtrl - manually added columns doesn't appear

Hello,

I've got a ListCtrl defined in an XRC, and I retrieve the object from the XML
and append columns manually:

self.listCtrl = xrc.XRCCTRL(self.panel, 'listctrl')
self.listCtrl.InsertColumn(0, 'Col 1')
self.listCtrl.InsertColumn(1, 'Col 2')
self.listCtrl.InsertColumn(1, 'Col 3')

But these columns never appears in the GUI. I can append strings to column one
though, but the column name doesnt appear on top of the listctrl.

Is there something I've misunderstood, or shouldn't this simply "just work"?

Thanks,
Frank

Perhaps adding wx.LC_REPORT to the attribute list helps. Doh :wink:

-Frank

ยทยทยท

On Wednesday 24 October 2007 00:21:51 Frank Aune wrote:

Is there something I've misunderstood, or shouldn't this simply "just
work"?