import wx

class MyFrame(wx.Frame):
   def __init__(self, parent, id, title ,pos, size):
      wx.Frame.__init__(self, parent, id, title, pos, size)
      self.panel = wx.Panel(self, -1)
      self.panel.SetBackgroundColour('grey')
      choicesList = ['one','two','three']
      self.radioBox = wx.RadioBox(self.panel, -1, 'chose a number',
                                  choices = choicesList, majorDimension = 3,
                                  style = wx.RA_SPECIFY_ROWS)
      self.radioBox.SetBackgroundColour('grey')
      self.tc = wx.TextCtrl(self.panel, -1)
      sizer = wx.BoxSizer()
      sizer.Add(self.radioBox)
      sizer.Add(self.tc)
      self.panel.SetSizer(sizer)


import wx.lib.mixins.inspection as wit

class MyApp(wit.InspectableApp):
   def OnInit(self):
      self.Init() # WIT
      self.frame = MyFrame(None, -1, 'RadioBox test',wx.DefaultPosition,
                           wx.DefaultSize)
      self.frame.Show()
      return True

app = MyApp()
app.SetTopWindow(app.frame)
app.MainLoop()