dialogs/DiscoveryDialog.py
changeset 1749 d73b64672238
parent 1746 45d6f5fba016
child 1754 63f4af6bf6d9
equal deleted inserted replaced
1748:ba5f64fe0e00 1749:d73b64672238
    36 class AutoWidthListCtrl(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin):
    36 class AutoWidthListCtrl(wx.ListCtrl, listmix.ListCtrlAutoWidthMixin):
    37     def __init__(self, parent, id, name, pos=wx.DefaultPosition,
    37     def __init__(self, parent, id, name, pos=wx.DefaultPosition,
    38                  size=wx.DefaultSize, style=0):
    38                  size=wx.DefaultSize, style=0):
    39         wx.ListCtrl.__init__(self, parent, id, pos, size, style, name=name)
    39         wx.ListCtrl.__init__(self, parent, id, pos, size, style, name=name)
    40         listmix.ListCtrlAutoWidthMixin.__init__(self)
    40         listmix.ListCtrlAutoWidthMixin.__init__(self)
       
    41 
    41 
    42 
    42 [ID_DISCOVERYDIALOG, ID_DISCOVERYDIALOGSTATICTEXT1,
    43 [ID_DISCOVERYDIALOG, ID_DISCOVERYDIALOGSTATICTEXT1,
    43  ID_DISCOVERYDIALOGSERVICESLIST, ID_DISCOVERYDIALOGREFRESHBUTTON,
    44  ID_DISCOVERYDIALOGSERVICESLIST, ID_DISCOVERYDIALOGREFRESHBUTTON,
    44  ID_DISCOVERYDIALOGLOCALBUTTON, ID_DISCOVERYDIALOGIPBUTTON,
    45  ID_DISCOVERYDIALOGLOCALBUTTON, ID_DISCOVERYDIALOGIPBUTTON,
    45 ] = [wx.NewId() for _init_ctrls in range(6)]
    46 ] = [wx.NewId() for _init_ctrls in range(6)]