title: changing notebook page title to bold in Wxpython
body: <p>I have the following code:</p>
  
  <pre><code>self.NB = wx.Notebook(self.panel_1, -1, style=0)
  self.NB_Partsnote= NB_Parts(self.NB,None,userId)
  self.NB_Parts2note = NB_Parts2(self.NB,None,userId)
  self.NB.AddPage(self.NB_Partsnote,_("Parts"))
  self.NB.AddPage(self.NB_Parts2note ,_("Parts2"))
  </code></pre>
  
  <p>This create the notebook and add 2 tabs.</p>
  
  <p>in Parts2 I have a textctrl with readonly data:</p>
  
  <pre><code>self.cellPhone = wx.TextCtrl(self, -1, "", style=wx.TE_READONLY)
  </code></pre>
  
  <p>What I want is when <code>self.cellPhone</code> has value then the <code>Parts2</code> title of the notebook to be <code>BOLD</code></p>
  
  <p>I tried to do:</p>
  
  <pre><code>class NB_Parts2(GeneralPanel):
      def __init__(self,parent,poId,userId, toolbar=None):
      more code...
      if self.cellPhone.GetValue() &lt;&gt; '':
          SetFont(wx.Font(8, wx.FONTFAMILY_DEFAULT,
                               wx.FONTWEIGHT_BOLD, 
                               wx.FONTSTYLE_NORMAL))
  </code></pre>
  
  <p>But this doesn't work. nothing happens. I tried also to remove the condition so it will always be BOLD but still nothing happens.</p>
  
  <p>How can I do that?</p>