wenn ich folgenden Code benutze, dann erhalte ich eine ListCtrl mit vier Elementen, deren Anordnung immer ans Fenster angepasst wird. Wenn das ganze nicht passt, wird eine horizontale Scrollbar eingefügt. Wie erreiche ich es jetzt, dass wx eine vertikale Scrollbar einfügt und alles immer nur in einer Spalte anzeigt?

gruß,
david
Code: Alles auswählen
self.control = wx.ListCtrl(self, style = wx.LC_ICON)
imlist = wx.ImageList(60, 60)
imlist.Add(wx.Bitmap("map.bmp"))
self.control.AssignImageList(imlist, 0)
self.control.InsertImageStringItem(0, "ein Text", 0)
self.control.InsertImageStringItem(1, "ein Text", 0)
self.control.InsertImageStringItem(2, "ein Text", 0)
self.control.InsertImageStringItem(3, "ein Text", 0)