-void wxPanel::DoSetBackgroundBitmap(const wxBitmap& bmp)
-{
- delete m_backgroundBrush;
- m_backgroundBrush = bmp.IsOk() ? new wxBrush(bmp) : NULL;
-}
-
-WXHBRUSH wxPanel::MSWGetCustomBgBrush()
-{
- if ( m_backgroundBrush )
- return (WXHBRUSH)m_backgroundBrush->GetResourceHandle();
-
- return wxPanelBase::MSWGetCustomBgBrush();
-}