diff --git a/include/wx/generic/grid.h b/include/wx/generic/grid.h index 047823e56e..aeb6363957 100644 --- a/include/wx/generic/grid.h +++ b/include/wx/generic/grid.h @@ -2743,7 +2743,6 @@ protected: void OnSize( wxSizeEvent& ); void OnKeyDown( wxKeyEvent& ); - void OnKeyUp( wxKeyEvent& ); void OnChar( wxKeyEvent& ); diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 44b476ec0a..0f5b7123d4 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -2642,7 +2642,6 @@ wxBEGIN_EVENT_TABLE( wxGrid, wxScrolledCanvas ) EVT_SIZE( wxGrid::OnSize ) EVT_DPI_CHANGED( wxGrid::OnDPIChanged ) EVT_KEY_DOWN( wxGrid::OnKeyDown ) - EVT_KEY_UP( wxGrid::OnKeyUp ) EVT_CHAR ( wxGrid::OnChar ) wxEND_EVENT_TABLE() @@ -6117,11 +6116,6 @@ void wxGrid::OnKeyDown( wxKeyEvent& event ) } } -void wxGrid::OnKeyUp( wxKeyEvent& WXUNUSED(event) ) -{ - // try local handlers -} - void wxGrid::OnChar( wxKeyEvent& event ) { // is it possible to edit the current cell at all?