wxXmlNode::GetPropVal's pointer argument must not be NULL, check for it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-09-24 22:08:46 +00:00
parent e2ae339e7b
commit a52a60e4d3

View File

@@ -143,6 +143,8 @@ bool wxXmlNode::HasProp(const wxString& propName) const
bool wxXmlNode::GetPropVal(const wxString& propName, wxString *value) const
{
wxCHECK_MSG( value, false, "value argument must not be NULL" );
wxXmlProperty *prop = GetProperties();
while (prop)