]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/ownerdrw.cpp
wxUniversal fixes:
[wxWidgets.git] / src / os2 / ownerdrw.cpp
index e5c4065ef4ac81584c834113dad50611170256bd..5e156318e31661d7b84a74f729b0425ff590424f 100644 (file)
@@ -386,8 +386,9 @@ bool wxOwnerDrawn::OnDrawItem(
                                                 ,rRect.x + GetMarginWidth()
                                                 ,rRect.y + m_nHeight
                                                };
-                POINTL              vPnt1 = {2, 4}; // Leave a little background border
+                POINTL              vPnt1 = {rRect.x + 1, rRect.y + 3}; // Leave a little background border
                 POINTL              vPnt2 = {rRect.x + GetMarginWidth(), rRect.y + m_nHeight - 3};
+
                 LINEBUNDLE          vLine;
 
                 vLine.lColor = vColBack.GetPixel();