]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix and errant commented out line of code in DoGetPixel.
authorDavid Webster <Dave.Webster@bhmi.com>
Mon, 20 Nov 2000 14:09:24 +0000 (14:09 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Mon, 20 Nov 2000 14:09:24 +0000 (14:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/dc.cpp

index d0a26ad713adbe7e54e6e240ebce7cc142b886b0..c37d3b7536c49778569c7711b6ab397e5c27e958 100644 (file)
@@ -300,10 +300,10 @@ bool wxDC::DoGetPixel(
     vPoint.x = vX;
     vPoint.y = vY;
     lColor = ::GpiSetPel(m_hPS, &vPoint);
     vPoint.x = vX;
     vPoint.y = vY;
     lColor = ::GpiSetPel(m_hPS, &vPoint);
-//    *pCol.Set(lColor);
+    *pCol = lColor;
     if(lColor>= 0)
         return(TRUE);
     if(lColor>= 0)
         return(TRUE);
-   else
+    else
         return(FALSE);
 }
 
         return(FALSE);
 }