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