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

@@ -205,6 +205,10 @@ public:
bool SetValue(const wxString& szValue, const wxMemoryBuffer& buf);
// return the binary value
bool QueryValue(const wxString& szValue, wxMemoryBuffer& buf) const;
// return multiple strings
bool QueryValue(const wxString& szValue,
wxArrayString& names,
wxArrayString& values) const;
// query existence of a key/value
// return true if value exists