]> git.saurik.com Git - wxWidgets.git/commitdiff
*** empty log message ***
authorJulian Smart <julian@anthemion.co.uk>
Thu, 21 May 1998 20:42:20 +0000 (20:42 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 21 May 1998 20:42:20 +0000 (20:42 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/png/pngdemo.cpp

index 0106b34ed951dda758dc08f9f8323cbfdebbd749..f1e477e5fd80744f3cb79ce1a1df9875a57d9441 100644 (file)
@@ -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);
   }
 }