memdc and bitmap fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -348,6 +348,7 @@ void MyCanvas::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
||||
|
||||
wxMemoryDC memDC;
|
||||
memDC.SelectObject( *my_backstore );
|
||||
memDC.Clear();
|
||||
memDC.SetBrush( *wxBLACK_BRUSH );
|
||||
memDC.SetPen( *wxWHITE_PEN );
|
||||
memDC.DrawRectangle( 0, 0, 150, 150 );
|
||||
|
Reference in New Issue
Block a user