Eliminated redundant wxRichTextAnchoredObject class; refactored XML I/O code
authorJulian Smart <julian@anthemion.co.uk>
Wed, 6 Oct 2010 20:22:03 +0000 (20:22 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 6 Oct 2010 20:22:03 +0000 (20:22 +0000)
commitbec80f4f4a44ce7d1ce24627f87deb0166249c54
tree670987d2b9ce222810968af6d052406126d02b78
parent2d55af1dfa7fd1cc2df13a6593fd51591cfcfcb1
Eliminated redundant wxRichTextAnchoredObject class; refactored XML I/O code
so that objects can stream themselves; added a wxXmlDocument-based method
of writing XML, though this turned out to be much slower than writing directly
so the direct approach is retained and is the default (can be changed with wxRICHTEXT_USE_XMLDOCUMENT_OUTPUT).
Loading and saving new attributes implemented. Added custom properties to objects.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/richtext/richtextbuffer.h
include/wx/richtext/richtextxml.h
samples/richtext/richtext.cpp
src/richtext/richtextbuffer.cpp
src/richtext/richtextxml.cpp