X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c1d2aa29cdfa5da6a04186d7fb2949fa6ef3861..dd44c130144ad153bf67121a94b23a615db409f5:/src/xrc/xh_bmp.cpp diff --git a/src/xrc/xh_bmp.cpp b/src/xrc/xh_bmp.cpp index 8ac3a6982d..788f50f227 100644 --- a/src/xrc/xh_bmp.cpp +++ b/src/xrc/xh_bmp.cpp @@ -3,7 +3,6 @@ // Purpose: XRC resource for wxBitmap and wxIcon // Author: Vaclav Slavik // Created: 2000/09/09 -// RCS-ID: $Id$ // Copyright: (c) 2000 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -49,9 +48,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)