X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..3c81c9aafbe0018b9d44005767040ec3ebe65349:/src/xrc/xh_bmp.cpp?ds=sidebyside diff --git a/src/xrc/xh_bmp.cpp b/src/xrc/xh_bmp.cpp index 57d7985107..4e61d5074e 100644 --- a/src/xrc/xh_bmp.cpp +++ b/src/xrc/xh_bmp.cpp @@ -29,6 +29,8 @@ wxBitmapXmlHandler::wxBitmapXmlHandler() 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)); } @@ -46,6 +48,8 @@ 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)); }