From: Julian Smart Date: Thu, 21 May 1998 20:42:20 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6e5ae05172b9826b9031339b5c596c88b99f6a75?hp=26a87b69a0686db5700ae66e17c64c1bfe14d557 *** empty log message *** git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/png/pngdemo.cpp b/samples/png/pngdemo.cpp index 0106b34ed9..f1e477e5fd 100644 --- a/samples/png/pngdemo.cpp +++ b/samples/png/pngdemo.cpp @@ -171,7 +171,7 @@ void MyCanvas::OnPaint(wxPaintEvent& event) dc.Blit(20 + g_TestBitmap->GetWidth() + 20, 20, g_TestBitmap->GetWidth(), g_TestBitmap->GetHeight(), & memDC, 0, 0, wxCOPY, TRUE); - memDC.SelectObject(NULL); + memDC.SelectObject(wxNullBitmap); } }