From cbb4b02f090fc5089caa67a15fbd95504d4168e1 Mon Sep 17 00:00:00 2001 From: Michael Bedward Date: Fri, 28 Jul 2000 05:21:17 +0000 Subject: [PATCH] Updated docs for wxGrid::SelectBlock git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/grid.tex | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/docs/latex/wx/grid.tex b/docs/latex/wx/grid.tex index c5528fc19d..65e47549cc 100644 --- a/docs/latex/wx/grid.tex +++ b/docs/latex/wx/grid.tex @@ -837,18 +837,14 @@ Selects all cells in the grid. \membersection{wxGrid::SelectBlock}\label{wxgridselectblock} -\func{void}{SelectBlock}{\param{int }{topRow}, \param{int }{leftCol}, \param{int }{bottomRow}, \param{int }{rightCol}} +\func{void}{SelectBlock}{\param{int }{topRow}, \param{int }{leftCol}, +\param{int }{bottomRow}, \param{int }{rightCol}, \param{bool }{addToSelected = FALSE}} -\func{void}{SelectBlock}{\param{const wxGridCellCoords\& }{topLeft}, \param{const wxGridCellCoords\& }{bottomRight}} +\func{void}{SelectBlock}{\param{const wxGridCellCoords\& }{topLeft}, +\param{const wxGridCellCoords\& }{bottomRight}, \param{bool }{addToSelected = FALSE}} -Highlights a rectangular block of cells but does not select it ! - -\wxheading{Note} \\ This is obviously inconsistent with the other wxGrid::SelectXXX functions, each -of which call the corresponding wxGridSelection function whereas wxGrid::SelectBlock is only -responsible for highlighting a block of cells. There is presently no way to add a block to the -selection programmatically. This will probably be changed soon so that the existing SelectBlock -function is renamed to HighlightBlock and a new SelectBlock function introduced to call -wxGridSelection::SelectBlock. +Selects a rectangular block of cells. If addToSelected is FALSE then any existing selection will be +deselected; if TRUE the column will be added to the existing selection. \membersection{wxGrid::SelectCol}\label{wxgridselectcol} -- 2.45.2