From 6e5ae05172b9826b9031339b5c596c88b99f6a75 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 21 May 1998 20:42:20 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/png/pngdemo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }