title: Dynamically Disable Checkbox in wxpython
body: <p>So I have a wxpython app where I would like to disable a checkbox widget when another checkbox is changed to false by the user.  I currently use following code to set these two checkboxes to true. </p>
  
  <pre><code>self.parentCheckbox.SetValue(True)
  self.childCheckbox.SetValue(True)
  </code></pre>
  
  <p>Now I want to disable the childCheckbox since it's no longer relevant if the user makes the parentCheckbox false. I was hoping the following code would do this but it doesn't seem to be doing anything. </p>
  
  <pre><code>if self.parentCheckbox.GetValue() == False:
      self.childCheckbox.Disabled()    
  </code></pre>