Some last minute little tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-09-07 23:17:14 +00:00
parent 14f8fa9d7f
commit 1e6796a093
7 changed files with 60 additions and 9 deletions

View File

@@ -1474,6 +1474,7 @@ public:
bool CreateGrid( int numRows, int numCols,
WXGRIDSELECTIONMODES selmode = wxGrid::wxGridSelectCells );
void SetSelectionMode(WXGRIDSELECTIONMODES selmode);
WXGRIDSELECTIONMODES GetSelectionMode();
// ------ grid dimensions
@@ -1529,7 +1530,7 @@ public:
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
@@ -1762,6 +1763,13 @@ public:
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