Adding a DB regs to a wx listbox

Marcpp marcpp at gmail.com
Tue Jun 12 03:14:44 EDT 2007


Hi, I need add to a listbox a list of items extracted from a database.
This is that I've do:

class tasques(wx.Frame):
    def __init__(self, *args, **kwds):
....
        self.list_box_1_copy = wx.ListBox(self, -1, choices=[],
style=wx.LB_SINGLE|wx.LB_ALWAYS_SB)
...

How I add the list to choices?




More information about the Python-list mailing list