Vadim Zeitlin
8de66bc753
Add error checks when copying data in the archive sample
...
Errors when writing the output data in CopyStreamData() were not
detected.
2018-03-31 01:34:35 +02:00
Vadim Zeitlin
36fe1e0f66
Initialize ArchiveApp members in ctor in the sample
...
No real changes, but initialize members of ArchiveApp class in its ctor
to avoid leaving them uninitialized.
2018-03-30 22:53:07 +02:00
Vadim Zeitlin
b9c10f215d
Use wxScopedPtr<> instead of wxSharedPtr<> in archive sample
...
There is no need to use wxSharedPtr<> when ownership is not shared, use
simpler and overhead-free wxScopedPtr<> instead.
2018-03-30 22:38:03 +02:00
Vadim Zeitlin
a0cc236678
Fix typo in a message in the archive sample
...
No real changes.
2018-03-30 22:37:23 +02:00
Tobias Taschner
f3f1819daf
Add archive sample
...
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
2018-02-20 14:39:27 +01:00