added QueryRawValue() to wxRegKey and test code for it in the sample

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-10-12 23:40:26 +00:00
parent 1fc8878582
commit 6dfec4b8d9
4 changed files with 199 additions and 97 deletions

View File

@@ -182,8 +182,14 @@ public:
// set the string value
bool SetValue(const wxChar *szValue, const wxString& strValue);
// return the string value
bool QueryValue(const wxChar *szValue, wxString& strValue) const;
// retrieve the string value
bool QueryValue(const wxChar *szValue, wxString& strValue) const
{ return QueryValue(szValue, strValue, FALSE); }
// retrieve raw string value
bool QueryRawValue(const wxChar *szValue, wxString& strValue) const
{ return QueryValue(szValue, strValue, TRUE); }
// retrieve either raw or expanded string value
bool QueryValue(const wxChar *szValue, wxString& strValue, bool raw) const;
#ifdef __WIN32__
// set the numeric value