From: Michael Bedward Date: Mon, 2 Aug 1999 03:23:35 +0000 (+0000) Subject: Added these accessor functions for wxGridEvent: GetRow, GetCol, GetPosition, GetCell... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5af2ff30ec174fdbc440759c14602f9d92c9e392?ds=inline Added these accessor functions for wxGridEvent: GetRow, GetCol, GetPosition, GetCell, ControlDown, ShiftDown git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/generic/gridg.h b/include/wx/generic/gridg.h index 90bea68db4..943f846508 100644 --- a/include/wx/generic/gridg.h +++ b/include/wx/generic/gridg.h @@ -382,6 +382,13 @@ public: bool m_control; bool m_shift; wxGridCell* m_cell; + + int GetRow() const { return m_row; } + int GetCol() const { return m_col; } + wxPoint GetPosition() const { return wxPoint( m_x, m_y ); } + wxGridCell* GetCell() const { return m_cell; } + bool ControlDown() const { return m_control; } + bool ShiftDown() const { return m_shift; } }; const wxEventType wxEVT_GRID_SELECT_CELL = wxEVT_FIRST + 1575;