X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f13d956e6a1acc9f22b802e8ad614bf08e47a3d1..90fae9d2cfd82625c8c8279660237514470bc31a:/src/xml/xml.cpp diff --git a/src/xml/xml.cpp b/src/xml/xml.cpp index 3767c9dc30..922332b1d6 100644 --- a/src/xml/xml.cpp +++ b/src/xml/xml.cpp @@ -30,6 +30,7 @@ #include "wx/zstream.h" #include "wx/strconv.h" #include "wx/scopedptr.h" +#include "wx/versioninfo.h" #include "expat.h" // from Expat @@ -1035,4 +1036,12 @@ bool wxXmlDocument::Save(wxOutputStream& stream, int indentstep) const OutputString(stream, wxS("\n"), convMem.get(), convFile.get()); } +/*static*/ wxVersionInfo wxXmlDocument::GetLibraryVersionInfo() +{ + return wxVersionInfo("expat", + XML_MAJOR_VERSION, + XML_MINOR_VERSION, + XML_MICRO_VERSION); +} + #endif // wxUSE_XML