diff --git a/interface/wx/grid.h b/interface/wx/grid.h index 1e9366ddfc..2429ed7dd7 100644 --- a/interface/wx/grid.h +++ b/interface/wx/grid.h @@ -5811,6 +5811,28 @@ public: */ void RefreshAttr(int row, int col); + /** + Redraw all the cells in the given block. + + Refresh the block of cells with the given corners. + + If the bottom right corner coordinates are invalid, i.e. set to `-1`, + the top left corner coordinates are used for it, i.e. just a single + cell is refreshed. If the top left corner coordinates are invalid as + well, the function simply returns without doing anything. Note, + however, that both coordinates need to be valid or invalid + simultaneously, i.e. setting the top row to `-1` but using a valid + value for the left column is unsupported and would result in an + assertion failure. + + @since 3.1.3 + */ + void RefreshBlock(const wxGridCellCoords& topLeft, + const wxGridCellCoords& bottomRight); + /// @overload + void RefreshBlock(int topRow, int leftCol, + int bottomRow, int rightCol); + /** Draws part or all of a wxGrid on a wxDC for printing or display. diff --git a/interface/wx/pen.h b/interface/wx/pen.h index 47a412aefe..297a6e26b2 100644 --- a/interface/wx/pen.h +++ b/interface/wx/pen.h @@ -452,7 +452,7 @@ public: */ void SetQuality(wxPenQuality quality); - //@{ + ///@{ /** The pen's colour is changed to the given colour. @@ -460,7 +460,7 @@ public: */ virtual void SetColour(wxColour& colour); virtual void SetColour(unsigned char red, unsigned char green, unsigned char blue); - //@} + ///@} /** Associates an array of dash values (defined as @c char in X, @c DWORD under