X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2996bcde9c1b96e2b8659a6eaf7201b56085abbb..a439ecef106bf1e93a2704a8d0fdf392fc2fb2af:/src/generic/prop.cpp diff --git a/src/generic/prop.cpp b/src/generic/prop.cpp index 537588ba18..a44800754d 100644 --- a/src/generic/prop.cpp +++ b/src/generic/prop.cpp @@ -369,12 +369,18 @@ void wxPropertyValue::Copy(wxPropertyValue& copyFrom) case wxPropertyValueStringPtr: { wxChar** s = copyFrom.StringValuePtr(); + +#if 0 // what is this? are you trying to assign a bool or a string? VA can't figure it out.. #if defined(__VISAGECPP__) || defined( __VISUALC__ ) (*this) = s; #else (*this) = s != 0; #endif +#endif // if 0 + + (*this) = (bool)(s != 0); + return ; }