Implement wxGrid selection blocks iterating interface

This commit is contained in:
Ilya Sinitsyn
2020-03-27 03:23:45 +07:00
committed by Vadim Zeitlin
parent 8ebdf101b8
commit f8015b13b1
5 changed files with 168 additions and 0 deletions

View File

@@ -89,6 +89,8 @@ public:
wxArrayInt GetRowSelection() const;
wxArrayInt GetColSelection() const;
wxVectorGridBlockCoords& GetBlocks() { return m_selection; }
private:
int BlockContain( int topRow1, int leftCol1,
int bottomRow1, int rightCol1,