The black rectangle drawn in EVT_PAINT handler in the sample prevented the
custom background from showing through the wxStaticBitmap. Maybe it was
initially done intentionally but this makes the sample look broken so just
don't do this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67265
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
dc.SetBrush( *wxBLACK_BRUSH );
}
dc.SetBrush( *wxBLACK_BRUSH );
- dc.DrawRectangle( 10,10,60,50 );
dc.DrawBitmap( m_bitmap, 20, 20, true );
dc.DrawBitmap( m_bitmap, 20, 20, true );