fixed resize line drawing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-02-04 15:17:15 +00:00
parent f0102d2a6d
commit 815a62d283

View 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 )
{