From: Karsten Ballüder Date: Mon, 8 Jun 1998 11:37:30 +0000 (+0000) Subject: fixed NULL problem X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c03b8ea8cd8e78957b32dd8a5f7df732f0862fa1 fixed NULL problem git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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() )