]> git.saurik.com Git - wxWidgets.git/commitdiff
compile warning fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 31 Jul 1999 21:56:42 +0000 (21:56 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 31 Jul 1999 21:56:42 +0000 (21:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/prop.cpp

index 30c510e8748a8e6f1fc39c342a8642f0465b183b..44827dcf22326684472620fb7f7f8c1433f06717 100644 (file)
@@ -371,7 +371,7 @@ void wxPropertyValue::Copy(wxPropertyValue& copyFrom)
     case wxPropertyValueStringPtr:
     {
       wxChar** s = copyFrom.StringValuePtr();
-      (*this) = s;
+      (*this) = s != 0;
       return ;
     }