wxObject *wxBitmapXmlHandler::DoCreateResource()
{
- return new wxBitmap(GetBitmap(_T("")));
+ return new wxBitmap(GetBitmap(wxT("")));
}
bool wxBitmapXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("bitmap");
+ return IsOfClass(node, wxT("wxBitmap"));
}
wxObject *wxIconXmlHandler::DoCreateResource()
{
- return new wxIcon(GetIcon(_T("")));
+ return new wxIcon(GetIcon(wxT("")));
}
bool wxIconXmlHandler::CanHandle(wxXmlNode *node)
{
- return node->GetName() == _T("icon");
+ return IsOfClass(node, wxT("wxIcon"));
}