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