Fix border for wxGTK too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
wxPen mypen2(m_BorderColour2, 1, wxSOLID);
|
||||||
|
|
||||||
int subtractMe = 1;
|
int subtractMe = 1;
|
||||||
// Check on other platforms whether we should be subtracting
|
// We get a missing pixel if subtract 1.
|
||||||
// 1. On wxMSW, we get a notch if we do.
|
#if defined(__WXMSW__) || defined(__WXGTK__)
|
||||||
#ifdef __WXMSW__
|
|
||||||
subtractMe = 0;
|
subtractMe = 0;
|
||||||
#endif
|
#endif
|
||||||
dc.SetPen(mypen1);
|
dc.SetPen(mypen1);
|
||||||
|
Reference in New Issue
Block a user