]> git.saurik.com Git - wxWidgets.git/commitdiff
Added these accessor functions for wxGridEvent: GetRow, GetCol, GetPosition, GetCell...
authorMichael Bedward <mbedward@ozemail.com.au>
Mon, 2 Aug 1999 03:23:35 +0000 (03:23 +0000)
committerMichael Bedward <mbedward@ozemail.com.au>
Mon, 2 Aug 1999 03:23:35 +0000 (03:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/gridg.h

index 90bea68db4f272db28570d3044a345f7a96862f1..943f84650885e706264f9c334b48c322053c5235 100644 (file)
@@ -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;