bool CreateGrid( int numRows, int numCols,
WXGRIDSELECTIONMODES selmode = wxGrid::wxGridSelectCells );
void SetSelectionMode(WXGRIDSELECTIONMODES selmode);
+ WXGRIDSELECTIONMODES GetSelectionMode();
// ------ grid dimensions
void EndBatch();
int GetBatchCount();
void ForceRefresh();
- void Refresh(bool eraseb=TRUE, wxRect* rect= NULL);
+ void Refresh(bool eraseb=TRUE, const wxRect* rect= NULL);
// ------ edit control functions
bool IsInSelection( int row, int col );
// TODO: ??? bool IsInSelection( const wxGridCellCoords& coords )
+// TODO: These need typemaps
+// wxGridCellCoordsArray GetSelectedCells() const;
+// wxGridCellCoordsArray GetSelectionBlockTopLeft() const;
+// wxGridCellCoordsArray GetSelectionBlockBottomRight() const;
+// wxArrayInt GetSelectedRows() const;
+// wxArrayInt GetSelectedCols() const;
+
// This function returns the rectangle that encloses the block of cells
// limited by TopLeft and BottomRight cell in device coords and clipped