some warnings suppressed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-07-15 23:34:18 +00:00
parent b6a0d8a25b
commit b21624e7e0
2 changed files with 6 additions and 7 deletions

View File

@@ -371,7 +371,7 @@ void wxPropertyValue::Copy(wxPropertyValue& copyFrom)
case wxPropertyValueStringPtr:
{
wxChar** s = copyFrom.StringValuePtr();
(*this) = s;
(*this) = s != 0;
return ;
}
@@ -1024,7 +1024,7 @@ void wxPropertyValidatorRegistry::ClearRegistry(void)
{
BeginFind();
wxNode *node;
while ((node = Next()))
while ((node = Next()) != NULL)
{
delete (wxPropertyValidator *)node->Data();
}