X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d33a1e8b7bc0d9bfcb40f626758708a445f7f718..00b2a5df9502adfd9a14ce01ab603f7906984995:/contrib/src/xml/xh_bmp.cpp diff --git a/contrib/src/xml/xh_bmp.cpp b/contrib/src/xml/xh_bmp.cpp index c83a264430..5eb366c939 100644 --- a/contrib/src/xml/xh_bmp.cpp +++ b/contrib/src/xml/xh_bmp.cpp @@ -30,14 +30,14 @@ wxBitmapXmlHandler::wxBitmapXmlHandler() 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")); } @@ -48,13 +48,13 @@ wxIconXmlHandler::wxIconXmlHandler() 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")); }