XRCed and ListCtrl - manually added columns doesn't appear
Frank Aune
Frank.Aune at broadpark.no
Tue Oct 23 15:21:51 PDT 2007
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
More information about the wxpython-users
mailing list