diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index d92ad689f4..7441ef7a73 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -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 diff --git a/interface/wx/grid.h b/interface/wx/grid.h index c3377cee48..c106ba7ae2 100644 --- a/interface/wx/grid.h +++ b/interface/wx/grid.h @@ -6398,7 +6398,7 @@ public: The user selected a group of contiguous cells; variant taking a window identifier. Processes a @c wxEVT_GRID_RANGE_SELECTED event type. This event is available in wxWidgets 3.1.5 and later only and was - called @c wxEVT_GRID_RANGE_SELECT in the previous versions. + called @c wxEVT_GRID_CMD_RANGE_SELECT in the previous versions. @endEventTable @library{wxcore}