From: David Webster Date: Mon, 20 Nov 2000 14:09:24 +0000 (+0000) Subject: Fix and errant commented out line of code in DoGetPixel. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6f9526274482bb8f97984ebfc697ea357ac20c52 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 --- 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); }