When compiling with g++ or clang in C++11 mode, the use of std::auto_ptr<> triggers warnings about its deprecation, so replace it with wxScopedPtr<> as this is simpler than choosing between auto_ptr<> and unique_ptr<>.
When compiling with g++ or clang in C++11 mode, the use of std::auto_ptr<> triggers warnings about its deprecation, so replace it with wxScopedPtr<> as this is simpler than choosing between auto_ptr<> and unique_ptr<>.