X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/133506215101bd8cffbf81e6c36944f7d5e2f8db..a5655d37db9baabce654849fd66173f95f74e230:/src/generic/grid.cpp diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 34f232f3bd..a05a2d519a 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -7259,6 +7259,13 @@ void wxGrid::ClearAttrCache() } } +void wxGrid::RefreshAttr(int row, int col) +{ + if ( m_attrCache.row == row && m_attrCache.col == col ) + ClearAttrCache(); +} + + void wxGrid::CacheAttr(int row, int col, wxGridCellAttr *attr) const { if ( attr != NULL )