Bug with wxRadioButton on Windows fixed
authorlbessard
Tue, 24 Mar 2009 10:50:28 +0100
changeset 543 ea6cc9b95838
parent 542 4328444b039b
child 544 7620872e153c
Bug with wxRadioButton on Windows fixed
objdictgen/commondialogs.py
--- a/objdictgen/commondialogs.py	Wed Mar 18 09:54:04 2009 +0100
+++ b/objdictgen/commondialogs.py	Tue Mar 24 10:50:28 2009 +0100
@@ -300,14 +300,14 @@
 
         self.radioButton2 = wx.RadioButton(id=ID_MAPVARIABLEDIALOGRADIOBUTTON2,
               label='ARRAY', name='radioButton2', parent=self,
-              pos=wx.Point(0, 0), size=wx.Size(80, 24), style=wx.RB_SINGLE)
+              pos=wx.Point(0, 0), size=wx.Size(80, 24), style=0)
         self.radioButton2.SetValue(False)
         self.radioButton2.Bind(wx.EVT_RADIOBUTTON, self.OnRadioButton2Click,
               id=ID_MAPVARIABLEDIALOGRADIOBUTTON2)
 
         self.radioButton3 = wx.RadioButton(id=ID_MAPVARIABLEDIALOGRADIOBUTTON3,
               label='REC', name='radioButton3', parent=self,
-              pos=wx.Point(0, 0), size=wx.Size(80, 24), style=wx.RB_SINGLE)
+              pos=wx.Point(0, 0), size=wx.Size(80, 24), style=0)
         self.radioButton3.SetValue(False)
         self.radioButton3.Bind(wx.EVT_RADIOBUTTON, self.OnRadioButton3Click,
               id=ID_MAPVARIABLEDIALOGRADIOBUTTON3)
@@ -937,7 +937,7 @@
 
         self.NMT_None = wx.RadioButton(id=ID_CREATENODEDIALOGNMT_NONE,
               label='None', name='NMT_None', 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.NMT_None.SetValue(True)
 
         self.NMT_NodeGuarding = wx.RadioButton(id=ID_CREATENODEDIALOGNMT_NODEGUARDING,