title: wxPython transparent window with solid text
body: <p>I have created a super basic app which simply displays a static text in a window. What I would like to do is have the frame window be transparent whilst maintaining the solid text. Is it possible to do this?</p>
  <p>I am aware of the <code>setTranparent()</code> function, but this makes everything transparent including the text.</p>
  <pre><code>import wx
  import wx.lib.scrolledpanel as scrolled
  
  
  class Window(wx.Frame):
  
  def __init__(self, text):
      wx.Frame.__init__(self, None, wx.ID_ANY, &quot;Doc&quot;, size=(400, 500))
  
      # Add a panel so it looks the correct on all platforms
      self.panel = wx.Panel(self, wx.ID_ANY)
      self.SetTransparent(100)
  
      # Scrolled panel stuff
      self.scrolled_panel = scrolled.ScrolledPanel(self.panel, -1, style=wx.TAB_TRAVERSAL | wx.SUNKEN_BORDER, name=&quot;scrolled&quot;)
      self.scrolled_panel.SetAutoLayout(1)
      self.scrolled_panel.SetupScrolling()
  
      self.spSizer = wx.BoxSizer(wx.VERTICAL)
      body = wx.StaticText(self.scrolled_panel, label=text)
      body.SetFont(wx.Font(18, wx.SWISS, wx.NORMAL, wx.NORMAL))
      body.SetForegroundColour((0, 0, 0))
      self.spSizer.Add(body)
      self.scrolled_panel.SetSizer(self.spSizer)
  
      panelSizer = wx.BoxSizer(wx.VERTICAL)
      panelSizer.Add(self.scrolled_panel, 1, wx.EXPAND)
      self.panel.SetSizer(panelSizer)
  
  
  
  if __name__ == &quot;__main__&quot;:
      app = wx.App(False)
      frame = Window(&quot;EXAMPLE&quot;).Show()
      app.MainLoop()
  </code></pre>