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:
@@ -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 ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user