title: How can I get a wxPython frame with FancyText and no border (wx.BORDER_NONE)?
body: <p>I would like to build a wxPython window without borders (i.e., <code>style = wx.BORDER_NONE</code>) and use fancytext (<code>wx.lib.fancytext</code>) inside this window. Note that I am very new to wxPython and my question may sound stupid. (this is actually my first attempt of using wxPython).</p>
  
  <p>I figured that I will need to use a <code>panel</code> in my <code>frame</code> when using fancytext as one needs the <code>OnPaint</code> method for setting the fanciness for the text. However, it seems to be impossible to use <code>panels</code> (or even <code>sizers</code>) with <code>style = wx.BORDER_NONE</code>.</p>
  
  <p>This is what I would like, but without the window borders and stuff: </p>
  
  <pre><code>import  wx
  import  wx.lib.fancytext as fancytext
  
  test_str2 = '&lt;font family="swiss" color="dark green" size="40"&gt;big green text&lt;/font&gt;'
  
  class FancyText(wx.Panel):
      """display fancytext on a panel"""
      def __init__(self, parent):
          wx.Panel.__init__(self, parent, wx.ID_ANY)
          self.Bind(wx.EVT_PAINT, self.OnPaint)
  
      def OnPaint(self, evt):
          """generate the fancytext on a paint dc canvas"""
          dc = wx.PaintDC(self)
          fancytext.RenderToDC(test_str2, dc, 0, 20)
  
  
  app = wx.App(0)
  frame = wx.Frame(None, wx.ID_ANY, title='wxPython fancy text', size=(500, 250))
  frame.Centre()
  FancyText(frame)
  frame.Show(True)
  app.MainLoop()
  </code></pre>
  
  <p>(This examples uses code found <a href="http://www.daniweb.com/software-development/python/threads/128350/643697#post643697" rel="nofollow">here</a> and from the wxPython demo)</p>
  
  <p>If one changes the line initializing the window to</p>
  
  <pre><code>frame = wx.Frame(None, wx.ID_ANY, title='wxPython fancy text', size=(500, 250), style = wx.BORDER_NONE)
  </code></pre>
  
  <p>the fancytext disappears.</p>
  
  <p>Is there any way I can use fancytext on a window without borders (<code>style = wx.BORDER_NONE</code>)?</p>