]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dc.cpp
fixed xpm colour parsing bug due to case sensitive colour name comparison
[wxWidgets.git] / src / os2 / dc.cpp
index 4db821983aa57277d55b4d4345ad1ef4fb4509bc..7ac6173a99267f92fbd6aad37bb998ca33fe1301 100644 (file)
@@ -821,8 +821,8 @@ void wxDC::DoDrawRectangle(
                      );
         vPoint[0].x = vX + 1;
         vPoint[0].y = vY + 1;
-        vPoint[1].x = vX + vWidth - 2;
-        vPoint[1].y = vY + vHeight - 2;
+        vPoint[1].x = vX + vWidth - 1;
+        vPoint[1].y = vY + vHeight - 1;
         ::GpiMove(m_hPS, &vPoint[0]);
         ::GpiBox( m_hPS
                  ,lControl