bug fix in wxRegKey::CopyValue()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2000-02-15 23:54:25 +00:00
parent 91fc2bdc33
commit 5af3f0efd5

View File

@ -444,6 +444,11 @@ bool wxRegKey::CopyValue(const wxChar *szValue,
wxRegKey& keyDst,
const wxChar *szValueNew)
{
if ( !szValueNew ) {
// by default, use the same name
szValueNew = szValue;
}
switch ( GetValueType(szValue) ) {
case Type_String:
{