How to reverse dynamic item list in wx.combobox

I'm using wxPython Version: 2.8.10.1,Python Version:
2.6.5.final,Python Platform: linux2.

I'm newbie and my english isn't good. I wanna learn python and
wxPython. How to reverse dynamic item list with drop-down wx.combobox?
I couldn't find a solution . Is there any simple method instead
default wx.combobox behaviour? Last entry item have to be first item
in dropdown listbox.

Thanks in advance, Regards

no, but could pass in a reversed list

items = [1, 2, 3, 4]
items.reverse()
wx.ComboBox(self, choices=items)

···

On 25/07/2010 14:27, PanuTE wrote:

I'm using wxPython Version: 2.8.10.1,Python Version:
2.6.5.final,Python Platform: linux2.

I'm newbie and my english isn't good. I wanna learn python and
wxPython. How to reverse dynamic item list with drop-down wx.combobox?
I couldn't find a solution . Is there any simple method instead
default wx.combobox behaviour? Last entry item have to be first item
in dropdown listbox.

Thanks in advance, Regards

--
Steven Sproat, BSc
http://www.whyteboard.org/

Or if you have a wx.ComboBox instance already created and you need to
change its contents while you app is running, you should use
self.myComboBox.SetItems(items)

···

On Jul 24, 5:16 pm, Steven Sproat <spro...@gmail.com> wrote:

On 25/07/2010 14:27, PanuTE wrote:> I'm using wxPython Version: 2.8.10.1,Python Version:
> 2.6.5.final,Python Platform: linux2.

> I'm newbie and my english isn't good. I wanna learn python and
> wxPython. How to reverse dynamic item list with drop-down wx.combobox?
> I couldn't find a solution . Is there any simple method instead
> default wx.combobox behaviour? Last entry item have to be first item
> in dropdown listbox.

> Thanks in advance, Regards

no, but could pass in a reversed list

items = [1, 2, 3, 4]
items.reverse()
wx.ComboBox(self, choices=items)

--
Steven Sproat, BSchttp://www.whyteboard.org/

-------------------
Mike Driscoll

Blog: http://blog.pythonlibrary.org