]> git.saurik.com Git - wxWidgets.git/commitdiff
Added missing SetGridCursor function
authorMichael Bedward <mbedward@ozemail.com.au>
Thu, 3 Feb 2000 07:11:12 +0000 (07:11 +0000)
committerMichael Bedward <mbedward@ozemail.com.au>
Thu, 3 Feb 2000 07:11:12 +0000 (07:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/grid.h

index 508113917db089d53fd85d1eacfaf338e8bf2ad2..98b783e4c82ceed8d018a3ac488efc54b81b57f3 100644 (file)
@@ -631,6 +631,9 @@ class WXDLLEXPORT wxGrid : public wxScrolledWindow
     
     // ------ grid cursor movement functions
     //
+    void SetGridCursor( int row, int col )
+        { SelectCell( wxGridCellCoords(row, col) ); }
+
     bool MoveCursorUp();
     bool MoveCursorDown();
     bool MoveCursorLeft();