There is no need to use wxSharedPtr<> when ownership is not shared, use simpler and overhead-free wxScopedPtr<> instead.
No real changes.
This sample shows usage of wxArchiveStream and wxArchiveFactory. It also allows for easy testing of wxArchiveStream implementations outside of the unit tests. See https://github.com/wxWidgets/wxWidgets/pull/730