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 custom info.plist with supported document types 2008-08-05 11:55:21 +00:00
chart.ico Replaced images 2005-05-19 17:22:42 +00:00
chart.r added custom icons 2003-01-10 16:12:32 +00:00
chart.xpm add const attribute to avoid lots of warnings from GCC 2009-01-09 15:48:13 +00:00
descrip.mms Committing in . 2001-11-07 09:26:33 +00:00
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 custom info.plist with supported document types 2008-08-05 11:55:21 +00:00
doc.ico Replaced images 2005-05-19 17:22:42 +00:00
doc.r added custom icons 2003-01-10 16:12:32 +00:00
doc.xpm add const attribute to avoid lots of warnings from GCC 2009-01-09 15:48:13 +00:00
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 add headers to the samples' bakefiles so that they show up in MSVC project files 2009-03-04 11:47:32 +00:00
docview.cpp Remove calls to wxApp::SetTopWindow() from the samples and documentation. 2011-01-02 22:05:14 +00:00
docview.dsp Rebake from clean wx tree. 2010-01-04 00:45:45 +00:00
docview.h No changes, just simplify docview sample a bit. 2010-11-10 00:36:39 +00:00
docview.r corrected for resource compilation with Apple Developer Tools 2003-04-19 08:17:23 +00:00
docview.rc Remove unnecessary mondrian.{ico,xpm} files from samples directory. 2010-06-20 17:42:33 +00:00
docviewM7.mcp makefile important for setting the correct creator of the app 2003-01-10 16:18:08 +00:00
Info.plist Updated copyright year before 2.9.2 release. 2011-06-29 09:22:35 +00:00
Info.plist.in adding generic BUNDLE_RESOURCES for copying any special resources into the bundle, renaming BUNDLE_ICONS to BUNDLE_ICON = the path of the app icon 2008-08-13 15:20:57 +00:00
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 *** empty log message *** 1998-05-22 19:57:05 +00:00
makefile.wat Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
notepad.icns custom info.plist with supported document types 2008-08-05 11:55:21 +00:00
notepad.ico Replaced images 2005-05-19 17:22:42 +00:00
notepad.xpm add const attribute to avoid lots of warnings from GCC 2009-01-09 15:48:13 +00:00
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