title: How do I determine which button in a RadioBox is selected in wxPython?
body: <p>I have a RadioBox in my application (with two radio buttons inside of the box), and I need to determine which button is selected in the box. I've seen examples where the radio buttons are created individually, but nothing for when they're part of a RadioBox.</p>
  
  <p>Here's the code for my RadioBox.</p>
  
  <pre><code>self.radIPAddressInfo = wx.RadioBox(choices=['Automatically Determined',
            'Manual'], id=wxID_FRAME1RADIPADDRESSINFO,
            label=u'IP Address Information', majorDimension=1,
            name=u'radIPAddressInfo', parent=self.panelMain, pos=wx.Point(728,
            80), size=wx.Size(288, 136), style=wx.RA_SPECIFY_COLS)
      self.radIPAddressInfo.Bind(wx.EVT_RADIOBOX,
            self.OnRadIPAddressInfoRadiobox, id=wxID_FRAME1RADIPADDRESSINFO)
  </code></pre>
  
  <p>Would I use something like </p>
  
  <pre><code>if self.RadIPAddressInfo.GetValue()="Automatically Determined":
       do something
  else
       do something else
  </code></pre>
  
  <p>Thanks, and have a great day:)
  Patrick.</p>