From 192a9bf10f5f77df58a23a8ce10d812823ec8d52 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 19 Dec 2002 10:24:05 +0000 Subject: [PATCH] Apply table border fix to all ports. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlcell.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/html/htmlcell.cpp b/src/html/htmlcell.cpp index 5ec2f4aa74..f583fdb528 100644 --- a/src/html/htmlcell.cpp +++ b/src/html/htmlcell.cpp @@ -427,11 +427,8 @@ void wxHtmlContainerCell::Draw(wxDC& dc, int x, int y, int view_y1, int view_y2) wxPen mypen1(m_BorderColour1, 1, wxSOLID); wxPen mypen2(m_BorderColour2, 1, wxSOLID); - int subtractMe = 1; // We get a missing pixel if subtract 1. -#if defined(__WXMSW__) || defined(__WXGTK__) - subtractMe = 0; -#endif + int subtractMe = 0; dc.SetPen(mypen1); dc.DrawLine(x + m_PosX, y + m_PosY, x + m_PosX, y + m_PosY + m_Height - 1); dc.DrawLine(x + m_PosX, y + m_PosY, x + m_PosX + m_Width - subtractMe, y + m_PosY); -- 2.50.0