Also remove unused wxGrid wxEVT_ERASE_BACKGROUND handler
It is never used anyhow, as wxGrid is entirely covered by its children windows.
This commit is contained in:
@@ -2365,7 +2365,6 @@ protected:
|
|||||||
void OnKeyDown( wxKeyEvent& );
|
void OnKeyDown( wxKeyEvent& );
|
||||||
void OnKeyUp( wxKeyEvent& );
|
void OnKeyUp( wxKeyEvent& );
|
||||||
void OnChar( wxKeyEvent& );
|
void OnChar( wxKeyEvent& );
|
||||||
void OnEraseBackground( wxEraseEvent& );
|
|
||||||
void OnHideEditor( wxCommandEvent& );
|
void OnHideEditor( wxCommandEvent& );
|
||||||
|
|
||||||
|
|
||||||
|
@@ -2320,7 +2320,6 @@ wxBEGIN_EVENT_TABLE( wxGrid, wxScrolledCanvas )
|
|||||||
EVT_KEY_DOWN( wxGrid::OnKeyDown )
|
EVT_KEY_DOWN( wxGrid::OnKeyDown )
|
||||||
EVT_KEY_UP( wxGrid::OnKeyUp )
|
EVT_KEY_UP( wxGrid::OnKeyUp )
|
||||||
EVT_CHAR ( wxGrid::OnChar )
|
EVT_CHAR ( wxGrid::OnChar )
|
||||||
EVT_ERASE_BACKGROUND( wxGrid::OnEraseBackground )
|
|
||||||
EVT_COMMAND(wxID_ANY, wxEVT_GRID_HIDE_EDITOR, wxGrid::OnHideEditor )
|
EVT_COMMAND(wxID_ANY, wxEVT_GRID_HIDE_EDITOR, wxGrid::OnHideEditor )
|
||||||
wxEND_EVENT_TABLE()
|
wxEND_EVENT_TABLE()
|
||||||
|
|
||||||
@@ -5743,10 +5742,6 @@ void wxGrid::OnChar( wxKeyEvent& event )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxGrid::OnEraseBackground(wxEraseEvent&)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void wxGrid::DoGridProcessTab(wxKeyboardState& kbdState)
|
void wxGrid::DoGridProcessTab(wxKeyboardState& kbdState)
|
||||||
{
|
{
|
||||||
const bool isForwardTab = !kbdState.ShiftDown();
|
const bool isForwardTab = !kbdState.ShiftDown();
|
||||||
|
Reference in New Issue
Block a user