diff --git a/src/generic/prop.cpp b/src/generic/prop.cpp index 30c510e874..44827dcf22 100644 --- a/src/generic/prop.cpp +++ b/src/generic/prop.cpp @@ -371,7 +371,7 @@ void wxPropertyValue::Copy(wxPropertyValue& copyFrom) case wxPropertyValueStringPtr: { wxChar** s = copyFrom.StringValuePtr(); - (*this) = s; + (*this) = s != 0; return ; }