fixed NULL problem

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder 1998-06-08 11:37:30 +00:00
parent 05fafecd1a
commit c03b8ea8cd

View File

@ -159,7 +159,7 @@ void MyCanvas::OnPaint(wxPaintEvent& event)
// Normal, non-transparent blitting
dc.Blit(20, 20, g_TestBitmap->GetWidth(), g_TestBitmap->GetHeight(), & memDC, 0, 0, wxCOPY, FALSE);
memDC.SelectObject(NULL);
memDC.SelectObject(wxNullBitmap);
}
if ( g_TestBitmap && g_TestBitmap->Ok() )