X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd76c6a77d9b0965534ed08e4aab979235370a44..58ce18f2fdadecffb21e27555115af708325cf18:/include/wx/generic/grid.h diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index b42e57e7ca..e02f4848e1 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -1268,6 +1268,12 @@ public: void SetRowAttr(int row, wxGridCellAttr *attr); void SetColAttr(int col, wxGridCellAttr *attr); + // the grid can cache attributes for the recently used cells (currently it + // only caches one attribute for the most recently used one) and might + // notice that its value in the attribute provider has changed -- if this + // happens, call this function to force it + void RefreshAttr(int row, int col); + // returns the attribute we may modify in place: a new one if this cell // doesn't have any yet or the existing one if it does //