[wxPython] Help with wxChoice!

SNYDER, BARRON F. (AIT) bs1535 at sbc.com
Tue Jun 12 11:35:34 EDT 2001


I need help in understanding how to add an additional entry to a wxChoice
dropdown list box. The wxWindows doc shows:

     void Append(const wxString& item)
     Adds the item to the end of the choice control.

So in python, would I use something like:

     wxchoicename.Append("ABC123")

That is what I'm doing and I don't get an error but the new value isn't
being appended either.

Any help is appreciated!

Barron
(a bear of very little brain)




More information about the Python-list mailing list