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:
David Webster
1999-08-02 16:39:18 +00:00
parent 3ab377bd1a
commit 1408104d04
14 changed files with 584 additions and 544 deletions

View File

@@ -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 ;
}