Define wxGridSelectionRange::iterator in terms of vector iterator

This fixes compilation when using std::vector<> implementation for
wxVector (i.e. with wxUSE_STD_CONTAINERS==1).
This commit is contained in:
Vadim Zeitlin
2020-04-04 19:03:01 +02:00
parent a469d36783
commit 0f8e985252

View File

@@ -875,12 +875,12 @@ struct wxGridBlockDiffResult
class wxGridSelectionRange
{
public:
typedef wxGridBlockCoords* iterator;
typedef wxVector<wxGridBlockCoords>::const_iterator iterator;
wxGridSelectionRange() :
m_begin(NULL),
m_end(NULL),
m_it(NULL)
m_begin(),
m_end(),
m_it()
{
}