git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13719
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxRegKey& operator=(long lValue)
{ SetValue(NULL, lValue); return *this; }
- // conversion operators query the default value of the key
- operator wxString() const;
+ // query the default value of the key: implicitly or explicitly
+ wxString QueryDefaultValue() const;
+ operator wxString() const { return QueryDefaultValue(); }
+
+ // named values
// set the string value
bool SetValue(const wxChar *szValue, const wxString& strValue);
return FALSE;
}
-wxRegKey::operator wxString() const
+wxString wxRegKey::QueryDefaultValue() const
{
wxString str;
QueryValue(NULL, str);