Make wxGridSelection::IsInSelection() const

There is really no reason for it not to be.
This commit is contained in:
Vadim Zeitlin
2020-04-14 18:50:06 +02:00
parent 945718ef5f
commit ddaa5b5e02
2 changed files with 3 additions and 3 deletions

View File

@@ -28,8 +28,8 @@ public:
wxGrid::wxGridSelectionModes sel = wxGrid::wxGridSelectCells);
bool IsSelection();
bool IsInSelection(int row, int col);
bool IsInSelection(const wxGridCellCoords& coords)
bool IsInSelection(int row, int col) const;
bool IsInSelection(const wxGridCellCoords& coords) const
{
return IsInSelection(coords.GetRow(), coords.GetCol());
}