title: wxPython : Change ComboBox choices
body: <p>I'm trying to change the choices of the second <a href="https://docs.wxpython.org/wx.ComboBox.html?highlight=wx.combobox#wx.ComboBox" rel="nofollow noreferrer"><code>wx.ComboBox</code></a> if the user chooses "Campaign" in the first <code>wx.ComboBox</code>.</p>
  
  <p>The code below is not working, I mean the choices on the second <code>wx.ComboBox</code> remain the same.</p>
  
  <p>I need your help with this one. Thank you,</p>
  
  <pre><code>class Test(wx.Frame):
      def __init__(self,parent,id):
          wx.Frame.__init__(self,parent,id, "Frame aka Window", style= wx.SYSTEM_MENU | wx.CAPTION | wx.CLOSE_BOX | wx.MINIMIZE_BOX, size=(400, 635))
  
  
          self.filterValues = ['Campaign','Spent', 'Network Impr.', 'Network Clicks', 'Rev. /1000', 'GA Impr.', 'Revenue', 'eCPC', 'CPC', 'CTR'] 
          self.filterComboColumns = wx.ComboBox(self.panel,choices = self.filterValues, size = (100,-1))
          self.Bind(wx.EVT_COMBOBOX, self.onComboValues, self.filterComboColumns)
  
          self.filterContainsValues = ['Contains', 'Doesn\'t contain' , '&lt;', '&gt;'] 
          self.filterComboContains = wx.ComboBox(self.panel,choices = self.filterContainsValues, size = (100,-1))
          self.filterComboContains.Enable(False)
          self.Bind(wx.EVT_COMBOBOX, self.onComboContains, self.filterComboContains)
  
          self.filterInput = wx.TextCtrl(self.panel, wx.ID_ANY, size=(145, 24))
          self.filterInput.Enable(False)
          self.filterInput.SetFont(font)
          self.Bind(wx.EVT_TEXT, self.onComboInput, self.filterInput)
  
      def onComboValues(self, event): 
        cb = event.GetEventObject() 
  
        if cb.GetValue() == "Campaign":
          self.filterComboContains.Enable(True)
          self.filterContainsValues = []
          self.filterContainsValues.append('Contains')
          self.filterContainsValues.append('Doesn\'t contain')
  </code></pre>