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:
parent
d127d9360f
commit
cfcab3d203
@ -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 ;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user