Use static linkage for various local names

This commit is contained in:
Paul Cornett
2017-09-24 09:29:26 -07:00
parent 925a1c0734
commit cd1c3fab0c
18 changed files with 38 additions and 7 deletions

View File

@@ -10105,6 +10105,7 @@ bool wxRichTextTable::Draw(wxDC& dc, wxRichTextDrawingContext& context, const wx
}
// Helper function for Layout() that clears the space needed by a cell with rowspan > 1
static
int GetRowspanDisplacement(const wxRichTextTable* table, int row, int col, int paddingX, const wxArrayInt& colWidths)
{
// If one or more cells above-left of this one has rowspan > 1, the affected cells below it
@@ -10146,6 +10147,7 @@ int GetRowspanDisplacement(const wxRichTextTable* table, int row, int col, int p
}
// Helper function for Layout() that expands any cell with rowspan > 1
static
void ExpandCellsWithRowspan(const wxRichTextTable* table, int paddingY, int& bottomY, wxDC& dc, wxRichTextDrawingContext& context, const wxRect& availableSpace, int style)
{
// This is called when the table's cell layout is otherwise complete.