Send the autosize column event for grid native header columns

Send wxEVT_GRID_COL_AUTO_SIZE on double clicking on a separator line of
the grid native header to allow override default behaviour.
This commit is contained in:
Ilya Sinitsyn
2019-09-30 23:36:31 +07:00
committed by Vadim Zeitlin
parent 6ed0443d2f
commit 8971321542
3 changed files with 16 additions and 11 deletions

View File

@@ -2404,6 +2404,8 @@ private:
wxGridColLabelWindow* colLabelWin);
void ProcessCornerLabelMouseEvent(wxMouseEvent& event);
void HandleColumnAutosize(int col, const wxMouseEvent& event);
void DoColHeaderClick(int col);
void DoStartResizeCol(int col);