fixing region clipping

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2006-11-06 08:11:57 +00:00
parent 4bae004c61
commit f4f9074f49

View File

@@ -7705,8 +7705,7 @@ void wxGrid::DrawAllGridLines( wxDC& dc, const wxRegion & WXUNUSED(reg) )
int rightCol = GetColPos( internalXToCol(right) );
int bottomRow = internalYToRow(bottom);
#ifndef __WXMAC__
// CS: I don't know why suddenly unscrolled coordinates are used for clipping
#if !defined(__WXMAC__) || wxMAC_USE_CORE_GRAPHICS
wxRegion clippedcells(0, 0, cw, ch);
int i, j, cell_rows, cell_cols;