Merge branch 'grid-autosize-native-header'
Fix auto-sizing column labels when using native header in wxGrid. See https://github.com/wxWidgets/wxWidgets/pull/1559
This commit is contained in:
@@ -159,6 +159,12 @@ public:
|
||||
// compute column title width
|
||||
int GetColumnTitleWidth(const wxHeaderColumn& col);
|
||||
|
||||
// compute column title width for the column with the given index
|
||||
int GetColumnTitleWidth(unsigned int idx)
|
||||
{
|
||||
return GetColumnTitleWidth(GetColumn(idx));
|
||||
}
|
||||
|
||||
// implementation only from now on
|
||||
// -------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user