arbitrary locations. In such case you may implement this method only
and leave InsertRows() unimplemented.
- @param pos
- The position of the first new row.
@param numRows
The number of rows to add.
*/
neither associated with this table by SetAttrProvider() nor created on
demand by any other methods.
*/
- wxGridCellAttrProvider *GetAttrProvider() const { return m_attrProvider; }
+ wxGridCellAttrProvider *GetAttrProvider() const;
/**
Return the attribute for the given cell.
wxGridCellChoiceEditor(size_t count = 0,
const wxString choices[] = NULL,
bool allowOthers = false);
+ /**
+ @param choices
+ An array of strings from which the user can choose.
+ @param allowOthers
+ If allowOthers is @true, the user can type a string not in choices array.
+ */
wxGridCellChoiceEditor(const wxArrayString& choices,
bool allowOthers = false);
//@}
/**
Overridden wxWindow method.
*/
- void Fit();
+ virtual void Fit();
/**
Causes immediate repainting of the grid.
@true even if the cell is only partially visible.
*/
bool IsVisible(int row, int col, bool wholeCellVisible = true) const;
- const bool IsVisible(const wxGridCellCoords& coords,
- bool wholeCellVisible = true) const;
+ bool IsVisible(const wxGridCellCoords& coords,
+ bool wholeCellVisible = true) const;
//@}
//@{