+\membersection{wxGrid::SetColSize}\label{wxgridsetcolsize}
+
+\func{void}{SetColSize}{\param{int }{col}, \param{int }{width}}
+
+Sets the width of the specified column.
+
+This function does not refresh the grid. If you are calling it outside of a BeginBatch / EndBatch
+block you can use \helpref{wxGrid::ForceRefresh}{wxgridforcerefresh} to see the changes.
+
+Automatically sizes the column to fit its contents. If setAsMin is TRUE the calculated width will
+also be set as the minimal width for the column.
+
+\wxheading{Note}\\
+wxGrid sets up arrays to store individual row and column sizes when non-default sizes are used.
+The memory requirements for this could become prohibitive if your grid is very large.
+
+\membersection{wxGrid::SetDefaultCellAlignment}\label{wxgridsetdefaultcellalignment}
+
+\func{void}{SetDefaultCellAlignment}{\param{int }{horiz}, \param{int }{vert}}
+
+Sets the default horizontal and vertial alignment for grid cell text.
+
+Horizontal alignment should be one of wxALIGN\_LEFT, wxALIGN\_CENTRE or wxALIGN\_RIGHT.
+
+Vertical alignment should be one of wxALIGN\_TOP, wxALIGN\_CENTRE or wxALIGN\_BOTTOM.
+
+\membersection{wxGrid::SetDefaultCellBackgroundColour}\label{wxgridsetdefaultcellbackgroundcolour}
+
+\func{void}{SetDefaultCellBackgroundColour}{\param{const wxColour\&}{ colour}}
+
+Sets the default background colour for grid cells.
+
+\membersection{wxGrid::SetDefaultCellFont}\label{wxgridsetdefaultcellfont}
+
+\func{void}{SetDefaultCellFont}{\param{const wxFont\&}{ font}}
+
+Sets the default font to be used for grid cell text.
+
+\membersection{wxGrid::SetDefaultEditor}\label{wxgridsetdefaulteditor}
+
+\func{void}{SetDefaultEditor}{\param{wxGridCellEditor* }{editor}}
+
+Sets the default editor for grid cells. The grid will take ownership of the pointer.
+
+See \helpref{wxGridCellEditor}{wxgridcelleditor} and
+the \helpref{wxGrid overview}{gridoverview} for more information about cell editors and renderers.
+
+\membersection{wxGrid::SetDefaultRenderer}\label{wxgridsetdefaultrenderer}
+
+\func{void}{SetDefaultRenderer}{\param{wxGridCellRenderer* }{renderer}}
+
+Sets the default renderer for grid cells. The grid will take ownership of the pointer.
+
+See \helpref{wxGridCellRenderer}{wxgridcellrenderer} and
+the \helpref{wxGrid overview}{gridoverview} for more information about cell editors and renderers.
+
+\membersection{wxGrid::SetDefaultColSize}\label{wxgridsetdefaultcolsize}
+
+\func{void}{SetDefaultColSize}{\param{int }{width}, \param{bool }{resizeExistingCols = FALSE}}
+
+Sets the default width for columns in the grid. This will only affect columns subsequently added to
+the grid unless resizeExistingCols is TRUE.
+
+\membersection{wxGrid::SetDefaultRowSize}\label{wxgridsetdefaultrowsize}
+
+\func{void}{SetDefaultRowSize}{\param{int }{height}, \param{bool }{resizeExistingRows = FALSE}}
+
+Sets the default height for rows in the grid. This will only affect rows subsequently added
+to the grid unless resizeExistingRows is TRUE.
+
+\membersection{wxGrid::SetGridCursor}\label{wxgridsetgridcursor}
+
+\func{void}{SetGridCursor}{\param{int }{row}, \param{int }{col}}
+
+Set the grid cursor to the specified cell.
+This function calls \helpref{wxGrid::MakeCellVisible}{wxgridmakecellvisible}.
+
+\membersection{wxGrid::SetGridLineColour}\label{wxgridsetgridlinecolour}
+
+\func{void}{SetGridLineColour}{\param{const wxColour\&}{colour}}
+
+Sets the colour used to draw grid lines.
+
+\membersection{wxGrid::SetLabelBackgroundColour}\label{wxgridsetlabelbackgroundcolour}
+
+\func{void}{SetLabelBackgroundColour}{\param{const wxColour\&}{ colour}}
+
+Sets the background colour for row and column labels.
+
+\membersection{wxGrid::SetLabelFont}\label{wxgridsetlabelfont}
+
+\func{void}{SetLabelFont}{\param{const wxFont\&}{ font}}
+
+Sets the font for row and column labels.
+
+\membersection{wxGrid::SetLabelTextColour}\label{wxgridsetlabeltextcolour}
+
+\func{void}{SetLabelTextColour}{\param{const wxColour\&}{ colour}}
+
+Sets the colour for row and column label text.
+
+\membersection{wxGrid::SetReadOnly}\label{wxgridsetreadonly}
+
+\func{void}{SetReadOnly}{\param{int }{row}, \param{int }{col}, \param{bool }{isReadOnly = TRUE}}
+
+Makes the cell at the specified location read-only or editable.
+See also \helpref{wxGrid::IsReadOnly}{wxgridisreadonly}.
+
+\membersection{wxGrid::SetRowAttr}\label{wxgridsetrowattr}
+
+\func{void}{SetRowAttr}{\param{int }{row}, \param{wxGridCellAttr* }{attr}}
+
+Sets the cell attributes for all cells in the specified row.
+See the \helpref{wxGridCellAttr}{wxgridcellattr} class for more information
+about controlling cell attributes.
+
+\membersection{wxGrid::SetRowLabelAlignment}\label{wxgridsetrowlabelalignment}
+
+\func{void}{SetRowLabelAlignment}{\param{int }{horiz}, \param{int }{vert}}
+
+Sets the horizontal and vertical alignment of row label text.
+
+Horizontal alignment should be one of wxALIGN\_LEFT, wxALIGN\_CENTRE or wxALIGN\_RIGHT.
+
+Vertical alignment should be one of wxALIGN\_TOP, wxALIGN\_CENTRE or wxALIGN\_BOTTOM.
+
+\membersection{wxGrid::SetRowLabelSize}\label{wxgridsetrowlabelsize}
+
+\func{void}{SetRowLabelSize}{\param{int }{width}}
+
+Sets the width of the row labels.
+
+\membersection{wxGrid::SetRowLabelValue}\label{wxgridsetrowlabelvalue}
+
+\func{void}{SetRowLabelValue}{\param{int }{row}, \param{const wxString\&}{ value}}
+
+Set the value for the given row label. If you are using a derived grid table you must
+override \helpref{wxGridTableBase::SetRowLabelValue}{wxgridtablebasesetrowlabelvalue}
+for this to have any effect.
+
+\membersection{wxGrid::SetRowMinimalHeight}\label{wxgridsetrowminimalheight}
+
+\func{void}{SetRowMinimalHeight}{\param{int }{row}, \param{int }{width}}
+
+Sets the minimal height for the specified row. This should normally be called when creating the grid
+because it will not resize a row that is already shorter than the minimal height.
+
+\membersection{wxGrid::SetRowSize}\label{wxgridsetrowsize}
+
+\func{void}{SetRowSize}{\param{int }{row}, \param{int }{height}}
+
+Sets the height of the specified row.
+
+This function does not refresh the grid. If you are calling it outside of a BeginBatch / EndBatch
+block you can use \helpref{wxGrid::ForceRefresh}{wxgridforcerefresh} to see the changes.
+
+Automatically sizes the column to fit its contents. If setAsMin is TRUE the calculated width will
+also be set as the minimal width for the column.
+
+\wxheading{Note}
+
+wxGrid sets up arrays to store individual row and column sizes when non-default sizes are used.
+The memory requirements for this could become prohibitive if your grid is very large.
+
+\membersection{wxGrid::SetSelectionMode}\label{wxgridsetselectionmode}
+
+\func{void}{SetSelectionMode}{\param{wxGrid::wxGridSelectionModes}{ selmode}}
+
+Set the selection behaviour of the grid.
+
+\wxheading{Parameters}
+
+\docparam{wxGrid::wxGridSelectCells}{The default mode where individual cells are selected.}
+
+\docparam{wxGrid::wxGridSelectRows}{Selections will consist of whole rows.}
+
+\docparam{wxGrid::wxGridSelectionColumns}{Selections will consist of whole columns.}
+
+\membersection{wxGrid::SetTable}\label{wxgridsettable}
+
+\func{bool}{SetTable}{\param{wxGridTableBase* }{table}, \param{bool }{takeOwnership = FALSE}, \param{wxGrid::wxGridSelectionModes }{selmode = wxGrid::wxGridSelectCells}}
+
+Passes a pointer to a custom grid table to be used by the grid. This should be called
+after the grid constructor and before using the grid object. If takeOwnership is set to
+TRUE then the table will be deleted by the wxGrid destructor.
+
+Use this function instead of \helpref{wxGrid::CreateGrid}{wxgridcreategrid} when your
+application involves complex or non-string data or data sets that are too large to fit
+wholly in memory.
+
+\membersection{wxGrid::ShowCellEditControl}\label{wxgridshowcelleditcontrol}
+
+\func{void}{ShowCellEditControl}{\void}
+
+Displays the in-place cell edit control for the current cell.
+
+\membersection{wxGrid::XToCol}\label{wxgridxtocol}
+
+\func{int}{XToCol}{\param{int }{x}}
+
+Returns the grid column that corresponds to the logical x coordinate. Returns
+wxNOT\_FOUND if there is no column at the x position.
+
+\membersection{wxGrid::XToEdgeOfCol}\label{wxgridxtoedgeofcol}
+
+\func{int}{XToEdgeOfCol}{\param{int }{x}}
+
+Returns the column whose right hand edge is close to the given logical x position.
+If no column edge is near to this position wxNOT\_FOUND is returned.
+
+\membersection{wxGrid::YToEdgeOfRow}\label{wxgridytoedgeofrow}
+
+\func{int}{YToEdgeOfRow}{\param{int }{y}}
+
+Returns the row whose bottom edge is close to the given logical y position.
+If no row edge is near to this position wxNOT\_FOUND is returned.
+
+\membersection{wxGrid::YToRow}\label{wxgridytorow}
+
+\func{int}{YToRow}{\param{int }{y}}
+
+Returns the grid row that corresponds to the logical y coordinate. Returns
+wxNOT\_FOUND if there is no row at the y position.
+
+
+
+\membersection{wxGrid::IsInSelection}\label{wxgridisinselection}
+
+\func{bool}{IsInSelection}{\param{int }{row}, \param{int }{col}}
+
+\func{bool}{IsInSelection}{\param{const wxGridCellCoords\& }{coords}}
+
+
+\membersection{wxGrid::BlockToDeviceRect}\label{wxgridblocktodevicerect}
+
+\func{wxRect}{BlockToDeviceRect}{\param{const wxGridCellCoords \& }{topLeft}, \param{const wxGridCellCoords \& }{bottomRight}}
+
+This function returns the rectangle that encloses the block of cells
+limited by TopLeft and BottomRight cell in device coords and clipped
+to the client size of the grid window.
+
+
+\membersection{wxGrid::SelectionToDeviceRect}\label{wxgridselectiontodevicerect}
+
+\func{wxRect}{SelectionToDeviceRect}{\void}
+
+This function returns the rectangle that encloses the selected cells
+in device coords and clipped to the client size of the grid window.
+
+
+\membersection{wxGrid::GetSelectionBackground}\label{wxgridgetselectionbackground}
+
+\constfunc{wxColour}{GetSelectionBackground}{\void}
+
+Access or update the selection fore/back colours
+
+
+\membersection{wxGrid::GetSelectionForeground}\label{wxgridgetselectionforeground}
+
+\constfunc{wxColour}{GetSelectionForeground}{\void}
+
+
+\membersection{wxGrid::SetSelectionBackground}\label{wxgridsetselectionbackground}
+
+\func{void}{SetSelectionBackground}{\param{const wxColour\& }{c}}
+
+
+\membersection{wxGrid::SetSelectionForeground}\label{wxgridsetselectionforeground}
+
+\func{void}{SetSelectionForeground}{\param{const wxColour\& }{c}}
+
+
+\membersection{wxGrid::RegisterDataType}\label{wxgridregisterdatatype}
+
+\func{void}{RegisterDataType}{\param{const wxString\& }{typeName}, \param{wxGridCellRenderer* }{renderer}, \param{wxGridCellEditor* }{editor}}
+
+Methods for a registry for mapping data types to Renderers/Editors
+
+\membersection{wxGrid::GetDefaultEditorForCell}\label{wxgridgetdefaulteditorforcell}
+
+\constfunc{wxGridCellEditor*}{GetDefaultEditorForCell}{\param{int }{row}, \param{int }{col}}
+
+\constfunc{wxGridCellEditor*}{GetDefaultEditorForCell}{\param{const wxGridCellCoords\& }{c}}
+
+
+\membersection{wxGrid::GetDefaultRendererForCell}\label{wxgridgetdefaultrendererforcell}
+
+\constfunc{wxGridCellRenderer*}{GetDefaultRendererForCell}{\param{int }{row}, \param{int }{col}}
+
+
+\membersection{wxGrid::GetDefaultEditorForType}\label{wxgridgetdefaulteditorfortype}
+
+\constfunc{wxGridCellEditor*}{GetDefaultEditorForType}{\param{const wxString\& }{typeName}}
+
+
+\membersection{wxGrid::GetDefaultRendererForType}\label{wxgridgetdefaultrendererfortype}
+
+\constfunc{wxGridCellRenderer*}{GetDefaultRendererForType}{\param{const wxString\& }{typeName}}
+
+
+\membersection{wxGrid::SetMargins}\label{wxgridsetmargins}
+
+\func{void}{SetMargins}{\param{int }{extraWidth}, \param{int }{extraHeight}}
+
+A grid may occupy more space than needed for its rows/columns. This
+function allows to set how big this extra space is
+
+\membersection{wxGrid::wxGrid}\label{wxgridwxgrid}
+
+\func{}{wxGrid}{\param{wxWindow* }{parent}, \param{int }{x}, \param{int }{y}, \param{int }{w = -1}, \param{int }{h = -1}, \param{long }{style = wxWANTS\_CHARS}, \param{const wxString\& }{name = wxPanelNameStr}}
+
+Backward compatibility.
+
+\membersection{wxGrid::UpdateDimensions}\label{wxgridupdatedimensions}
+
+\func{void}{UpdateDimensions}{\void}
+
+Backward compatibility.
+
+\membersection{wxGrid::GetRows}\label{wxgridgetrows}
+
+\func{int}{GetRows}{\void}
+
+Backward compatibility.
+
+\membersection{wxGrid::GetCols}\label{wxgridgetcols}
+
+\func{int}{GetCols}{\void}
+
+Backward compatibility.
+
+\membersection{wxGrid::GetCursorRow}\label{wxgridgetcursorrow}
+
+\func{int}{GetCursorRow}{\void}
+
+Backward compatibility.
+
+\membersection{wxGrid::GetCursorColumn}\label{wxgridgetcursorcolumn}
+
+\func{int}{GetCursorColumn}{\void}
+
+Backward compatibility.
+
+\membersection{wxGrid::GetScrollPosX}\label{wxgridgetscrollposx}
+
+\func{int}{GetScrollPosX}{\void}
+
+Backward compatibility.
+
+\membersection{wxGrid::GetScrollPosY}\label{wxgridgetscrollposy}
+
+\func{int}{GetScrollPosY}{\void}
+
+Backward compatibility.
+
+\membersection{wxGrid::SetScrollX}\label{wxgridsetscrollx}
+
+\func{void}{SetScrollX}{\param{int }{x}}
+
+Backward compatibility.
+
+\membersection{wxGrid::SetScrollY}\label{wxgridsetscrolly}
+
+\func{void}{SetScrollY}{\param{int }{y}}
+
+Backward compatibility.
+
+\membersection{wxGrid::SetColumnWidth}\label{wxgridsetcolumnwidth}
+
+\func{void}{SetColumnWidth}{\param{int }{col}, \param{int }{width}}
+
+Backward compatibility.
+
+\membersection{wxGrid::GetColumnWidth}\label{wxgridgetcolumnwidth}
+
+\func{int}{GetColumnWidth}{\param{int }{col}}
+
+Backward compatibility.
+
+\membersection{wxGrid::SetRowHeight}\label{wxgridsetrowheight}
+
+\func{void}{SetRowHeight}{\param{int }{row}, \param{int }{height}}
+
+Backward compatibility.
+
+\membersection{wxGrid::GetViewHeight}\label{wxgridgetviewheight}
+
+\func{int}{GetViewHeight}{\void}
+
+Backward compatibility.
+
+\membersection{wxGrid::GetViewWidth}\label{wxgridgetviewwidth}
+
+\func{int}{GetViewWidth}{\void}
+
+Returned number of whole cols visible.
+
+\membersection{wxGrid::SetLabelSize}\label{wxgridsetlabelsize}
+
+\func{void}{SetLabelSize}{\param{int }{orientation}, \param{int }{sz}}
+
+
+\membersection{wxGrid::GetLabelSize}\label{wxgridgetlabelsize}
+
+\func{int}{GetLabelSize}{\param{int }{orientation}}
+
+
+\membersection{wxGrid::SetLabelAlignment}\label{wxgridsetlabelalignment}
+
+\func{void}{SetLabelAlignment}{\param{int }{orientation}, \param{int }{align}}
+
+
+\membersection{wxGrid::GetLabelAlignment}\label{wxgridgetlabelalignment}
+
+\func{int}{GetLabelAlignment}{\param{int }{orientation}, \param{int }{align}}
+
+
+\membersection{wxGrid::SetLabelValue}\label{wxgridsetlabelvalue}
+
+\func{void}{SetLabelValue}{\param{int }{orientation}, \param{const wxString\& }{val}, \param{int }{pos}}
+
+
+\membersection{wxGrid::GetLabelValue}\label{wxgridgetlabelvalue}
+
+\func{wxString}{GetLabelValue}{\param{int }{orientation}, \param{int }{pos}}
+
+
+\membersection{wxGrid::GetCellTextFont}\label{wxgridgetcelltextfont}
+
+\constfunc{wxFont}{GetCellTextFont}{\void}
+
+\constfunc{wxFont}{GetCellTextFont}{\param{int }{row}, \param{int }{col}}
+
+
+\membersection{wxGrid::SetCellTextFont}\label{wxgridsetcelltextfont}
+
+\func{void}{SetCellTextFont}{\param{const wxFont\& }{fnt}}
+
+\func{void}{SetCellTextFont}{\param{const wxFont\& }{fnt}, \param{int }{row}, \param{int }{col}}
+
+
+\membersection{wxGrid::SetCellBackgroundColour}\label{wxgridsetcellbackgroundcolour}
+
+\func{void}{SetCellBackgroundColour}{\param{const wxColour\& }{col}}
+
+\func{void}{SetCellBackgroundColour}{\param{int }{row}, \param{int }{col}, \param{const wxColour\&}{ colour}}
+
+\func{void}{SetCellBackgroundColour}{\param{const wxColour\& }{colour}, \param{int }{row}, \param{int }{col}}
+
+
+\membersection{wxGrid::GetEditable}\label{wxgridgeteditable}
+
+\func{bool}{GetEditable}{\void}
+
+
+\membersection{wxGrid::SetEditable}\label{wxgridseteditable}
+
+\func{void}{SetEditable}{\param{bool }{edit = TRUE}}
+
+
+\membersection{wxGrid::GetEditInPlace}\label{wxgridgeteditinplace}
+
+\func{bool}{GetEditInPlace}{\void}
+
+
+\membersection{wxGrid::SetEditInPlace}\label{wxgridseteditinplace}
+
+\func{void}{SetEditInPlace}{\param{bool }{edit = TRUE}}
+
+
+\membersection{wxGrid::SetCellBitmap}\label{wxgridsetcellbitmap}
+
+\func{void}{SetCellBitmap}{\param{wxBitmap* }{bitmap}, \param{int }{row}, \param{int }{col}}
+
+
+\membersection{wxGrid::SetDividerPen}\label{wxgridsetdividerpen}
+
+\func{void}{SetDividerPen}{\param{const wxPen\& }{pen}}
+
+
+\membersection{wxGrid::GetDividerPen}\label{wxgridgetdividerpen}
+
+\constfunc{wxPen\&}{GetDividerPen}{\void}
+
+
+\membersection{wxGrid::OnActivate}\label{wxgridonactivate}
+
+\func{void}{OnActivate}{\param{bool }{active}}
+
+\membersection{wxGrid::Fit}\label{wxgridfit}
+
+\func{void}{Fit}{\void}
+
+Overridden wxWindow methods
+
+\membersection{wxGrid::DoGetBestSize}\label{wxgriddogetbestsize}
+
+\constfunc{wxSize}{DoGetBestSize}{\void}
+
+\membersection{wxGrid::InitRowHeights}\label{wxgridinitrowheights}
+
+\func{void}{InitRowHeights}{\void}
+
+NB: {\it never} access m\_row/col arrays directly because they are created
+on demand, {\it always} use accessor functions instead!
+
+Init the m\_rowHeights/Bottoms arrays with default values.
+
+\membersection{wxGrid::InitColWidths}\label{wxgridinitcolwidths}
+
+\func{void}{InitColWidths}{\void}
+
+Init the m\_colWidths/Rights arrays
+
+
+\membersection{wxGrid::GetColWidth}\label{wxgridgetcolwidth}
+
+\constfunc{int}{GetColWidth}{\param{int }{col}}
+
+Get the col/row coords
+
+
+\membersection{wxGrid::GetColLeft}\label{wxgridgetcolleft}
+
+\constfunc{int}{GetColLeft}{\param{int }{col}}
+
+
+\membersection{wxGrid::GetColRight}\label{wxgridgetcolright}
+
+\constfunc{int}{GetColRight}{\param{int }{col}}
+
+
+\membersection{wxGrid::GetRowHeight}\label{wxgridgetrowheight}
+
+\constfunc{int}{GetRowHeight}{\param{int }{row}}
+
+This function must be public for compatibility.
+
+\membersection{wxGrid::GetRowTop}\label{wxgridgetrowtop}
+
+\constfunc{int}{GetRowTop}{\param{int }{row}}
+
+
+\membersection{wxGrid::GetRowBottom}\label{wxgridgetrowbottom}
+
+\constfunc{int}{GetRowBottom}{\param{int }{row}}
+
+
+\membersection{wxGrid::SetOrCalcColumnSizes}\label{wxgridsetorcalccolumnsizes}
+
+\func{int}{SetOrCalcColumnSizes}{\param{bool }{calcOnly}, \param{bool }{setAsMin = TRUE}}
+
+Common part of AutoSizeColumn/Row() and GetBestSize()
+
+\membersection{wxGrid::SetOrCalcRowSizes}\label{wxgridsetorcalcrowsizes}
+
+\func{int}{SetOrCalcRowSizes}{\param{bool }{calcOnly}, \param{bool }{setAsMin = TRUE}}
+
+\membersection{wxGrid::AutoSizeColOrRow}\label{wxgridautosizecolorrow}
+
+\func{void}{AutoSizeColOrRow}{\param{int }{n}, \param{bool }{setAsMin}, \param{bool }{column}}
+
+Common part of AutoSizeColumn/Row() or row?
+
+\membersection{wxGrid::GetColMinimalWidth}\label{wxgridgetcolminimalwidth}
+
+\constfunc{int}{GetColMinimalWidth}{\param{int }{col}}
+
+get the minimal width of the given column/row
+
+\membersection{wxGrid::GetRowMinimalHeight}\label{wxgridgetrowminimalheight}
+
+\constfunc{int}{GetRowMinimalHeight}{\param{int }{col}}
+
+\membersection{wxGrid::CanHaveAttributes}\label{wxgridcanhaveattributes}
+
+\func{bool}{CanHaveAttributes}{\void}
+
+Do we have some place to store attributes in?