Unlike member shrink_to_fit(), this function is always defined, even when wxVector is pre-C++11 std::vector<>.