90693f47f2
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 |
||
---|---|---|
.. | ||
chart.icns | ||
chart.ico | ||
chart.r | ||
chart.xpm | ||
descrip.mms | ||
doc.cpp | ||
doc.h | ||
doc.icns | ||
doc.ico | ||
doc.r | ||
doc.xpm | ||
docview_vc7.vcproj | ||
docview_vc8.vcproj | ||
docview_vc9.vcproj | ||
docview.bkl | ||
docview.cpp | ||
docview.dsp | ||
docview.h | ||
docview.r | ||
docview.rc | ||
docviewM7.mcp | ||
Info.plist | ||
Info.plist.in | ||
makefile.bcc | ||
makefile.gcc | ||
Makefile.in | ||
makefile.unx | ||
makefile.vc | ||
makefile.vms | ||
makefile.wat | ||
notepad.icns | ||
notepad.ico | ||
notepad.xpm | ||
view.cpp | ||
view.h |