wxObject *wxBitmapXmlHandler::DoCreateResource()
{
- // NB: empty parameter name means "take directly from this node's next
- // instead of from subnode with given name"
- return new wxBitmap(GetBitmap(wxEmptyString));
+ return new wxBitmap(GetBitmap(m_node));
}
bool wxBitmapXmlHandler::CanHandle(wxXmlNode *node)
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)