From 76985f52b2b8f88e5ee8632e10ca3bbed7dae2cf Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Thu, 19 Dec 2002 09:54:47 +0000 Subject: [PATCH] Fix border for wxGTK too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlcell.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/html/htmlcell.cpp b/src/html/htmlcell.cpp index ffee96c8c0..5ec2f4aa74 100644 --- a/src/html/htmlcell.cpp +++ b/src/html/htmlcell.cpp @@ -428,9 +428,8 @@ void wxHtmlContainerCell::Draw(wxDC& dc, int x, int y, int view_y1, int view_y2) wxPen mypen2(m_BorderColour2, 1, wxSOLID); int subtractMe = 1; - // Check on other platforms whether we should be subtracting - // 1. On wxMSW, we get a notch if we do. -#ifdef __WXMSW__ + // We get a missing pixel if subtract 1. +#if defined(__WXMSW__) || defined(__WXGTK__) subtractMe = 0; #endif dc.SetPen(mypen1); -- 2.45.2