]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed resize line drawing
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 Feb 2000 15:17:15 +0000 (15:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 4 Feb 2000 15:17:15 +0000 (15:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/grid.cpp

index d81c79ca5265aa7c3f2d2181694a76da1f5c70b0..db1971b12b2530f20a45a1b69ad42c42cef4871e 100644 (file)
@@ -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 )
                     {