Improve SAFEARRAY support in wxMSW OLE Automation code.

Add a new wxSafeArray<> class wrapping SAFEARRAY.

Also add support for converting VARIANTs containing other, previously
unsupported, standard types.

Closes #14637.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2012-09-23 22:49:50 +00:00
parent 2abce4af22
commit 226fa6db3d
18 changed files with 989 additions and 159 deletions

View File

@@ -26,9 +26,9 @@
the wxVariantData object, unlike the case for basic data types where
convenience functions such as GetLong() can be used.
Under Microsoft Windows, two additional wxVariantData-derived classes --
wxVariantDataCurrency and wxVariantDataErrorCode -- are available for
interoperation with OLE VARIANT when using wxAutomationObject.
Under Microsoft Windows, three additional wxVariantData-derived classes --
wxVariantDataCurrency, wxVariantDataErrorCode and wxVariantDataSafeArray --
are available for interoperation with OLE VARIANT when using wxAutomationObject.
Pointers to any wxObject derived class can also easily be stored in a
wxVariant. wxVariant will then use wxWidgets' built-in RTTI system to set