Changes to make common and generic compilable under VisualAge C++ V3.0 ofr OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -371,7 +371,12 @@ void wxPropertyValue::Copy(wxPropertyValue& copyFrom)
|
||||
case wxPropertyValueStringPtr:
|
||||
{
|
||||
wxChar** s = copyFrom.StringValuePtr();
|
||||
// what is this? are you trying to assign a bool or a string? VA can't figure it out..
|
||||
#if defined(__VISAGECPP__)
|
||||
(*this) = s;
|
||||
#else
|
||||
(*this) = s != 0;
|
||||
#endif
|
||||
return ;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user