Bug with wxRadioButton on Windows fixed
authorlbessard
Tue, 24 Mar 2009 10:50:49 +0100
changeset 336 80934ef1b1cd
parent 335 c2c6db53a04f
child 337 388a00b05b6b
Bug with wxRadioButton on Windows fixed
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)