]> rtime.felk.cvut.cz Git - CanFestival-3.git/commitdiff
Bug with wxRadioButton on Windows fixed
authorlbessard <lbessard>
Tue, 24 Mar 2009 09:50:28 +0000 (09:50 +0000)
committerlbessard <lbessard>
Tue, 24 Mar 2009 09:50:28 +0000 (09:50 +0000)
objdictgen/commondialogs.py

index 0181850d614d0c639be03d8c71ed4791114f012f..b45a83f78797b5a111305fa989b38b5b2d4049c2 100644 (file)
@@ -300,14 +300,14 @@ class MapVariableDialog(wx.Dialog):
 
         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 @@ class CreateNodeDialog(wx.Dialog):
 
         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,