Add wxVersionInfo and functions returning it for 3rd party libraries.

Add simple wxVersionInfo class holding the version information.

Also add GetLibraryVersionInfo() static method to wx{JPEG,PNG,TIFF}Handler,
wxStyledTextCtrl and wxXmlDocument classes and wxGetZlibVersionInfo() and
wxGetLibraryVersionInfo() global functions using it.

Closes #12690.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2010-11-25 00:53:44 +00:00
parent 5b70f2de3f
commit ccec90930c
33 changed files with 411 additions and 9 deletions

View File

@@ -538,6 +538,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/variant.h
wx/vector.h
wx/version.h
wx/versioninfo.h
wx/volume.h
wx/weakref.h
wx/wfstream.h

View File

@@ -1607,6 +1607,10 @@ SOURCE=..\..\include\wx\version.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\versioninfo.h
# End Source File
# Begin Source File
SOURCE=..\..\include\wx\volume.h
# End Source File
# Begin Source File

View File

@@ -1637,6 +1637,9 @@
<File
RelativePath="..\..\include\wx\version.h">
</File>
<File
RelativePath="..\..\include\wx\versioninfo.h">
</File>
<File
RelativePath="..\..\include\wx\volume.h">
</File>

View File

@@ -2201,6 +2201,10 @@
RelativePath="..\..\include\wx\version.h"
>
</File>
<File
RelativePath="..\..\include\wx\versioninfo.h"
>
</File>
<File
RelativePath="..\..\include\wx\volume.h"
>

View File

@@ -2197,6 +2197,10 @@
RelativePath="..\..\include\wx\version.h"
>
</File>
<File
RelativePath="..\..\include\wx\versioninfo.h"
>
</File>
<File
RelativePath="..\..\include\wx\volume.h"
>