| Version: 3.3.1

Classes | Public Member Functions | List of all members
wxGridBlocks Class Reference

`#include <wx/grid.h>`

## Detailed Description

Represents a collection of grid blocks that can be iterated over.

This class provides read-only access to the blocks making up the grid selection in the most general case.

Note that objects of this class can only be returned by wxGrid, but not constructed in the application code.

The preferable way to iterate over it is using range-for loop:

for ( const auto& block: grid->GetSelectedBlocks() ) {
... do something with block ...
}

Since
  3.1.4

## Classes
class | iterator
| Read-only forward iterator type. More...

## Public Member Functions
iterator | begin () const
| Return iterator corresponding to the beginning of the range. More...
iterator | end () const
| Return iterator corresponding to the end of the range. More...

## Member Function Documentation

## ◆ begin()

iterator wxGridBlocks::begin | ( |  | ) | const

Return iterator corresponding to the beginning of the range.

## ◆ end()

iterator wxGridBlocks::end | ( |  | ) | const

Return iterator corresponding to the end of the range.