Fix for compilation under AIX.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Bedward
1999-08-27 08:23:56 +00:00
parent d127d9360f
commit cfcab3d203

View File

@@ -369,12 +369,20 @@ void wxPropertyValue::Copy(wxPropertyValue& copyFrom)
case wxPropertyValueStringPtr: case wxPropertyValueStringPtr:
{ {
wxChar** s = copyFrom.StringValuePtr(); 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.. // what is this? are you trying to assign a bool or a string? VA can't figure it out..
#if defined(__VISAGECPP__) || defined( __VISUALC__ ) #if defined(__VISAGECPP__) || defined( __VISUALC__ )
(*this) = s; (*this) = s;
#else #else
(*this) = s != 0; (*this) = s != 0;
#endif #endif
#endif // if 0
// TODO: check if this is right. MB
//
(*this) = s;
return ; return ;
} }