From 6f9526274482bb8f97984ebfc697ea357ac20c52 Mon Sep 17 00:00:00 2001 From: David Webster Date: Mon, 20 Nov 2000 14:09:24 +0000 Subject: [PATCH] Fix and errant commented out line of code in DoGetPixel. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/dc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os2/dc.cpp b/src/os2/dc.cpp index d0a26ad713..c37d3b7536 100644 --- a/src/os2/dc.cpp +++ b/src/os2/dc.cpp @@ -300,10 +300,10 @@ bool wxDC::DoGetPixel( vPoint.x = vX; vPoint.y = vY; lColor = ::GpiSetPel(m_hPS, &vPoint); -// *pCol.Set(lColor); + *pCol = lColor; if(lColor>= 0) return(TRUE); - else + else return(FALSE); } -- 2.45.2