]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/grid.cpp
Correct printf() format specifiers for long variables in life demo.
[wxWidgets.git] / src / generic / grid.cpp
index 34f232f3bdfb6c0ca6313677237497970c32222b..a05a2d519ac37234b4ad0b512c4de1d793bd054e 100644 (file)
@@ -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 )