From 5d0152c2b9c04a2822c9f3acf65819b02c43909e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 7 Aug 2011 19:31:52 +0000 Subject: [PATCH] Use 0 instead of NULL to avoid g++ warning. g++ (usefully) warns when assigning NULL to a non-pointer in wxGDIPlusRenderer. Just use 0 instead of NULL to avoid the warning. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/graphics.cpp b/src/msw/graphics.cpp index c1c7df147c..0bc8226142 100644 --- a/src/msw/graphics.cpp +++ b/src/msw/graphics.cpp @@ -1906,7 +1906,7 @@ void wxGDIPlusRenderer::Unload() if ( m_gditoken ) { GdiplusShutdown(m_gditoken); - m_gditoken = NULL; + m_gditoken = 0; } m_loaded = -1; // next Load() will try again } -- 2.47.2