Vadim Zeitlin
f5ef4d69b7
Added wxWrapperInputStream class.
...
This stream allows to wrap another stream. This is a useful base class for
adapter classes providing stream interface on top of something else, like the
upcoming wxFSInputStream.
See #14185 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-16 13:53:45 +00:00
Vadim Zeitlin
554b7d9f8d
Document wxStreamBuffer::BufMode enum and fix dtor.
...
Document the enum as it's used as parameter type by other methods and so needs
to be declared to make the header parsable.
Also fix wxStreamBuffer dtor documentation which was missing a tilde.
Closes #14174 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-04-02 16:07:44 +00:00
Robin Dunn
ed3aceb08c
OnSysRead is pure virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-11-24 01:38:08 +00:00
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
Dimitri Schoolwerth
d13b34d3f2
No code changes, fixed various typos.
...
Applied patch by snowleopard2 fixing typos in interface/. Extended the fixes throughout trunk.
Closes #13076 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-03 20:31:32 +00:00
Vadim Zeitlin
526954c596
Globally use "wxWindows licence" consistently.
...
Use "wxWindows licence" and not "wxWidgets licence" (the latter doesn't
exist) and consistently spell "licence" using British spelling.
See #12165 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-07-13 13:29:13 +00:00
Vadim Zeitlin
9a83f86094
Globally replace _T() with wxT().
...
Standardize on using a single macro across all wxWidgets sources and solve the name clash with Sun CC standard headers (see #10660 ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-07-23 20:30:22 +00:00
Francesco Montorsi
8faef7ccbc
document that CanRead() and GetImageCount() functions of wxImageHandlers do NOT modify the current stream position and that they require seekable streams; rename current GetImageCount() functions to DoGetImageCount() and put save-and-restore stream position logic in GetImageCount(); add comments in the various DoCanRead() and in DoGetImageCount() where the stream position is modified; remove unneeded SeekI(0) calls from DoCanRead() and DoGetImageCount() functions: they didn't allow to load images from non-seekable streams; implement forward-seeking in wxInputStream::SeekI() also for non-seekable streams
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-06-01 11:43:36 +00:00
Vadim Zeitlin
36f062d3da
modify signature of new wxStreamBuffer ctors to avoid conflicts with the existing ones ( closes #10144 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-03-23 10:59:40 +00:00
Francesco Montorsi
2bc566539b
document operator\!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 18:43:48 +00:00
Francesco Montorsi
9d33840bab
reorder the classes, putting first the basic ones and towards the end of the file the derived ones; document OnSysXXX functions return values to allow the user to implement new stream classes without the need of guessing from source code the inner workings of the streams ( closes #4487 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 18:09:21 +00:00
Francesco Montorsi
acdad9dbd3
use ::wxInvalidOffset to enable autolinking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 17:29:34 +00:00
Francesco Montorsi
882678ebb4
other ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 23:44:44 +00:00
Francesco Montorsi
57bf907d8e
fix the definition of many static functions marked as 'const' or functions which had incoherent default values for their arguments or duplicated functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 22:10:54 +00:00
Francesco Montorsi
eb63011d3f
reformat stream overview and provide a description hopefully correct, even if very short, for wxStreamBuffer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 14:51:42 +00:00
Francesco Montorsi
5b86c331ec
fix docs for wxInputStream::GetC(); fixes #4461
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 12:44:17 +00:00
Francesco Montorsi
11e3af6e7e
further ifacecheck fixes (now only 3.3% of documented methods have a wrong signature\!)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-13 21:32:53 +00:00
Francesco Montorsi
0a98423eb0
other ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 21:33:25 +00:00
Francesco Montorsi
2681874846
ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-08 15:25:07 +00:00
Francesco Montorsi
78e37b46a4
fixed missing semicolons, as reported by check_syntax.sh
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 11:11:00 +00:00
Vadim Zeitlin
f42c1512dd
provide ctors allowing to specify the non-default buffer size for buffered streams and wxStreamBuffer itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 16:42:45 +00:00
Francesco Montorsi
5267aefd85
automated ifacecheck fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 15:34:31 +00:00
Francesco Montorsi
da1ed74c85
automated changes: many (pure) virtual specifiers added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 13:24:43 +00:00
Francesco Montorsi
0004982c83
virtual/static attributes automated fixes by ifacecheck
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 11:09:56 +00:00
Francesco Montorsi
4701dc0983
revised st*.h headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-07 16:57:34 +00:00
Francesco Montorsi
18e8e19b94
more fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 12:29:33 +00:00
Francesco Montorsi
adaaa68635
HUGE commit of ifacecheck-automated fixes to virtualness/constness/staticness of wxWidgets documented functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 11:21:10 +00:00
Francesco Montorsi
98ccd54522
various misc ifacecheck fixes (many virtual attributes missing)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 23:13:49 +00:00
Francesco Montorsi
c977fa847c
revised and fixed some typos
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-21 22:35:10 +00:00
Bryan Petty
12f5e1e78f
Commit 3 of 3 for Doxygen path fixes, this one finally removes all 600+ unnecessary uses of @wxheader and @headerfile.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 18:00:03 +00:00
Bryan Petty
ae3c17b401
Moved all interface headers into a 'wx' subdirectory for proper use of Doxygen path settings.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 16:22:58 +00:00