title: Transparent wxPanel member in wxFrame
body: <p>I have a MainFrame which is derived from <code>wxFrame</code>. The frame has a panel member <code>m_panel</code> of a custom class, derived from <code>wxPanel</code>.</p>
  
  <p>I overloaded the <code>OnPaint()</code> function of the MainFrame to set a background image.</p>
  
  <p>From the background image I only see a 5 pixel boarder. The rest is blocked by the wxPanel. And for some reason I cannot make the panel transparent. I tried <code>m_panel-&gt;Hide()</code> which had no effect at all and <code>m_panel-&gt;SetBackgroundStyle(wxBG_STYLE_CUSTOM)</code>. The latter had the weird effect that I could see the desktop (however the background image was still visible in the 5px border). </p>
  
  <p>I did add the <code>wxTRANSPARENT_WINDOW</code> style in the constructor of the <code>wxPanel</code>.</p>
  
  <p>How can I have this panel and make it transparent?</p>