added comments clarifying the code a bit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2006-03-04 11:12:02 +00:00
parent e8e59fe61c
commit 1e22bc9233

View File

@@ -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));
}