Hi,
Probably a question for wx-dev but, in the 2.9 preview build on wxMac if there is an empty string in the list of choices the following error will occur.
wx.Choice(self, choices=[""])
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "//usr/local/lib/wxPython-unicode-2.9.0.1.b20100122/lib/python2.5/site-packages/wx-2.9.0-osx_carbon-unicode/wx/_controls.py", line 494, in __init__
_controls_.Choice_swiginit(self,_controls_.new_Choice(*args, **kwargs))
PyAssertionError: C++ assertion "Assert failure" failed at /BUILD/wxPython-src-2.9.0.1.b20100122/src/common/stockitem.cpp(202) in wxGetStockLabel(): invalid stock item ID
Hoping that this is a bug since it makes it rather problematic to have an empty choice in the control as a whitespace string needs to be added instead [' '], which then means you need to remember to check everywhere for the right string instead of just looking for the empty string.
Cody