# HG changeset patch # User lbessard # Date 1237888249 -3600 # Node ID 80934ef1b1cd9d30783bc017c1341fb21b3f4c87 # Parent c2c6db53a04f0c47ac7fc3d16b146f40cf887e77 Bug with wxRadioButton on Windows fixed diff -r c2c6db53a04f -r 80934ef1b1cd Dialogs.py --- a/Dialogs.py Mon Mar 23 16:48:32 2009 +0100 +++ b/Dialogs.py Tue Mar 24 10:50:49 2009 +0100 @@ -811,7 +811,7 @@ self.radioButton1 = wx.RadioButton(id=ID_CONNECTIONPROPERTIESDIALOGRADIOBUTTON1, label='Connector', name='radioButton1', parent=self, - pos=wx.Point(0, 0), size=wx.Size(0, 24), style=0) + pos=wx.Point(0, 0), size=wx.Size(0, 24), style=wx.RB_GROUP) self.Bind(wx.EVT_RADIOBUTTON, self.OnTypeChanged, id=ID_CONNECTIONPROPERTIESDIALOGRADIOBUTTON1) self.radioButton1.SetValue(True) @@ -1045,7 +1045,7 @@ self.radioButton1 = wx.RadioButton(id=ID_LDELEMENTDIALOGRADIOBUTTON1, label="Normal", name='radioButton1', parent=self, - pos=wx.Point(0, 0), size=wx.Size(0, 24), style=0) + pos=wx.Point(0, 0), size=wx.Size(0, 24), style=wx.RB_GROUP) self.Bind(wx.EVT_RADIOBUTTON, self.OnTypeChanged, id=ID_LDELEMENTDIALOGRADIOBUTTON1) self.radioButton1.SetValue(True) @@ -1298,7 +1298,7 @@ self.radioButton1 = wx.RadioButton(id=ID_LDPOWERRAILDIALOGRADIOBUTTON1, label='Left PowerRail', name='radioButton1', parent=self, - pos=wx.Point(0, 0), size=wx.Size(0, 24), style=0) + pos=wx.Point(0, 0), size=wx.Size(0, 24), style=wx.RB_GROUP) self.Bind(wx.EVT_RADIOBUTTON, self.OnTypeChanged, id=ID_LDPOWERRAILDIALOGRADIOBUTTON1) self.radioButton1.SetValue(True) @@ -1725,7 +1725,7 @@ self.radioButton1 = wx.RadioButton(id=ID_TRANSITIONCONTENTDIALOGRADIOBUTTON1, label='Reference', name='radioButton1', parent=self, - pos=wx.Point(0, 0), size=wx.Size(0, 24), style=0) + pos=wx.Point(0, 0), size=wx.Size(0, 24), style=wx.RB_GROUP) self.Bind(wx.EVT_RADIOBUTTON, self.OnTypeChanged, id=ID_TRANSITIONCONTENTDIALOGRADIOBUTTON1) self.radioButton1.SetValue(True) @@ -1995,7 +1995,7 @@ self.radioButton1 = wx.RadioButton(id=ID_DIVERGENCECREATEDIALOGRADIOBUTTON1, label='Selection Divergence', name='radioButton1', parent=self, - pos=wx.Point(0, 0), size=wx.Size(0, 24), style=0) + pos=wx.Point(0, 0), size=wx.Size(0, 24), style=wx.RB_GROUP) self.Bind(wx.EVT_RADIOBUTTON, self.OnTypeChanged, id=ID_DIVERGENCECREATEDIALOGRADIOBUTTON1) self.radioButton1.SetValue(True)