wxWidgets/samples/docview
Vadim Zeitlin 90693f47f2 Allow passing the error value to wxStreamBase::Reset().
It can be useful to induce an error on the stream explicitly, e.g. because an
incorrect value was read from it and we want to indicate it to the caller by
setting stream error to wxSTREAM_READ_ERROR.

Allow to do this by passing an optional error value to wxStreamBase::Reset().

Add an example of using the new functionality to the docview sample which
needs it to be able to signal errors while reading the files.

Also document this method that previously wasn't documented at all.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-07-22 16:16:00 +00:00
..
chart.icns
chart.ico
chart.r
chart.xpm
descrip.mms
doc.cpp Allow passing the error value to wxStreamBase::Reset(). 2011-07-22 16:16:00 +00:00
doc.h Add support for child documents to docview framework. 2011-06-27 00:09:37 +00:00
doc.icns
doc.ico
doc.r
doc.xpm
docview_vc7.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
docview_vc8.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
docview_vc9.vcproj Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
docview.bkl
docview.cpp Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
docview.dsp
docview.h No changes, just simplify docview sample a bit. 2010-11-10 00:36:39 +00:00
docview.r
docview.rc
docviewM7.mcp
Info.plist Updated copyright year before 2.9.2 release. 2011-06-29 09:22:35 +00:00
Info.plist.in
makefile.bcc Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
makefile.gcc Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
Makefile.in Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
makefile.unx Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
makefile.vc Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
makefile.vms
makefile.wat Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
notepad.icns
notepad.ico
notepad.xpm
view.cpp Add support for child documents to docview framework. 2011-06-27 00:09:37 +00:00
view.h Add support for child documents to docview framework. 2011-06-27 00:09:37 +00:00