Scrolling programmatically a wx.ListCtrl

Hi everyone!
I'm writing a wx.combo.ComboCtrl with a wx.ListCtrl-derived wx.combo.ComboPopup. One instance of this combo has about 50 elements, so I sized the popup to show just 10 at a time, thus showing a vertical scrollbar. I also handle keypresses so that when the popup is open, I can use the arrow keys to change the selected element.
My problem is that when I select the 11th element the scrollbar doesn't scroll down, so the selected element isn't visible anymore.. I tried using ListCtrl.ScrollList, but nothing happens.. How should I do?

Many thanks!

(wxPython 2.8.8.0, Python 2.5.2, Xubuntu 8.10)

Federico Fanton wrote:

My problem is that when I select the 11th element the scrollbar doesn't scroll down, so the selected element isn't visible anymore.. I tried using ListCtrl.ScrollList, but nothing happens.. How should I do?

Ok found it, EnsureVisible().. Sorry! :confused: