Restore accidentally removed EVT_GRID_CMD_RANGE_SELECT macro
This was removed in415f080c80
(Split wxGrid RANGE_SELECT event into SELECTING and SELECTED, 2020-07-27) without preserving it for compatibility. Do define it now, just as it was done for the non-CMD equivalent of this macro EVT_GRID_RANGE_SELECT. Also update the documentation to fix a typo frome2f316b19d
(Mention that wxEVT_GRID_RANGE_SELECT{ED,ING} are new in 3.1.5, 2020-08-18).
This commit is contained in:
@@ -3525,6 +3525,7 @@ typedef void (wxEvtHandler::*wxGridEditorCreatedEventFunction)(wxGridEditorCreat
|
||||
#if WXWIN_COMPATIBILITY_3_0
|
||||
#define wxEVT_GRID_RANGE_SELECT wxEVT_GRID_RANGE_SELECTED
|
||||
|
||||
#define EVT_GRID_CMD_RANGE_SELECT EVT_GRID_CMD_RANGE_SELECTED
|
||||
#define EVT_GRID_RANGE_SELECT EVT_GRID_RANGE_SELECTED
|
||||
#endif // WXWIN_COMPATIBILITY_3_0
|
||||
|
||||
|
Reference in New Issue
Block a user