don't use empty attribute name in wxIconXmlHandler too (should have been part of r60624)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-05-13 22:29:11 +00:00
parent 9c1d2aa29c
commit 53998e70cd

View File

@@ -49,9 +49,7 @@ wxIconXmlHandler::wxIconXmlHandler()
wxObject *wxIconXmlHandler::DoCreateResource()
{
// NB: empty parameter name means "take directly from this node's next
// instead of from subnode with given name"
return new wxIcon(GetIcon(wxEmptyString));
return new wxIcon(GetIcon(m_node));
}
bool wxIconXmlHandler::CanHandle(wxXmlNode *node)