From c03b8ea8cd8e78957b32dd8a5f7df732f0862fa1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Karsten=20Ball=C3=BCder?= Date: Mon, 8 Jun 1998 11:37:30 +0000 Subject: [PATCH] fixed NULL problem git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76 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 f1e477e5fd..ed0c27b774 100644 --- a/samples/png/pngdemo.cpp +++ b/samples/png/pngdemo.cpp @@ -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() ) -- 2.47.2