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)