This fixes compilation when using std::vector<> implementation for wxVector (i.e. with wxUSE_STD_CONTAINERS==1).