diff -r efff55931763 -r 4b60a0d313b0 objdictgen/commondialogs.py --- a/objdictgen/commondialogs.py Wed Oct 31 12:06:29 2012 +0100 +++ b/objdictgen/commondialogs.py Tue Dec 04 18:01:47 2012 +0100 @@ -482,7 +482,7 @@ self.Type = wx.ComboBox(choices=[], id=ID_USERTYPEDIALOGTYPE, name='Type', parent=self, pos=wx.Point(0, 0), size=wx.Size(0, 28), style=wx.CB_READONLY) - self.Type.Bind(wx.EVT_CHOICE, self.OnTypeChoice, + self.Type.Bind(wx.wx.EVT_COMBOBOX, self.OnTypeChoice, id=ID_USERTYPEDIALOGTYPE) self.Spacer = wx.Panel(id=ID_MAPVARIABLEDIALOGSPACER, @@ -924,7 +924,7 @@ self.Profile = wx.ComboBox(choices=[], id=ID_CREATENODEDIALOGPROFILE, name='Profile', parent=self, pos=wx.Point(0, 0), size=wx.Size(0, 28), style=wx.CB_READONLY) - self.Profile.Bind(wx.EVT_CHOICE, self.OnProfileChoice, + self.Profile.Bind(wx.EVT_COMBOBOX, self.OnProfileChoice, id=ID_CREATENODEDIALOGPROFILE) self.staticText5 = wx.StaticText(id=ID_CREATENODEDIALOGSTATICTEXT5,