Make wxGridEvent methods GetRow() and GetCol() const and not virtual

See #19085
This commit is contained in:
Paul Cornett
2021-03-05 07:38:32 -08:00
parent 4388b9bd6b
commit 30637ad3b6
3 changed files with 6 additions and 4 deletions

View File

@@ -3209,8 +3209,8 @@ public:
bool control,
bool shift = false, bool alt = false, bool meta = false));
virtual int GetRow() { return m_row; }
virtual int GetCol() { return m_col; }
int GetRow() const { return m_row; }
int GetCol() const { return m_col; }
wxPoint GetPosition() const { return wxPoint( m_x, m_y ); }
bool Selecting() const { return m_selecting; }