Add support for reading multi string values to wxRegKey.

Add a wxRegKey::QueryValue() overload working with REG_MULTI_SZ values.

Closes #16653.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-11-11 01:03:00 +00:00
parent 69e00f892c
commit 89738ef01f
5 changed files with 97 additions and 3 deletions

View File

@@ -355,6 +355,18 @@ public:
*/
bool QueryValue(const wxString& szValue, wxMemoryBuffer& buf) const;
/**
Retrieves a multiple string value.
The @a szValue must exist and have @c REG_MULTI_SZ type. The names and
the values of the pairs present in it are returned in the @a names and
@a value arrays, which will have the same (possible 0) size.
@since 3.1.0
*/
bool QueryValue(const wxString& szValue,
wxArrayString& names,
wxArrayString& values) const;
/**
Renames the key. Returns @true if successful.
*/