From: Vadim Zeitlin Date: Fri, 4 Feb 2000 15:17:15 +0000 (+0000) Subject: fixed resize line drawing X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/815a62d283baf05421cf2b95e15a722ebc5679d6 fixed resize line drawing git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index d81c79ca52..db1971b12b 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -1475,6 +1475,7 @@ void wxGrid::ProcessRowLabelMouseEvent( wxMouseEvent& event ) wxClientDC dc( m_gridWin ); PrepareDC( dc ); + dc.SetPen(*wxRED_PEN); // FIXME should be bg col dependent dc.SetLogicalFunction(wxXOR); if ( m_dragLastPos >= 0 ) { @@ -1656,6 +1657,7 @@ void wxGrid::ProcessColLabelMouseEvent( wxMouseEvent& event ) wxClientDC dc( m_gridWin ); PrepareDC( dc ); + dc.SetPen(*wxRED_PEN); // FIXME should be bg col dependent dc.SetLogicalFunction(wxXOR); if ( m_dragLastPos >= 0 ) {