From: Michael Bedward Date: Fri, 27 Aug 1999 08:23:56 +0000 (+0000) Subject: Fix for compilation under AIX. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/cfcab3d20389cc1acfe969bebd72e38b155038e9 Fix for compilation under AIX. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/prop.cpp b/src/generic/prop.cpp index 537588ba18..3aa479d8e4 100644 --- a/src/generic/prop.cpp +++ b/src/generic/prop.cpp @@ -369,12 +369,20 @@ 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 + + // TODO: check if this is right. MB + // + (*this) = s; + return ; }