# HG changeset patch
# User lbessard
# Date 1237888228 -3600
# Node ID ea6cc9b958380d648320374f2f427e6b955e3c21
# Parent  4328444b039b1f818f7562216c08f4c44fd353ba
Bug with wxRadioButton on Windows fixed

diff -r 4328444b039b -r ea6cc9b95838 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,