]> git.saurik.com Git - wxWidgets.git/commitdiff
added comments clarifying the code a bit
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 4 Mar 2006 11:12:02 +0000 (11:12 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 4 Mar 2006 11:12:02 +0000 (11:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/xrc/xh_bmp.cpp

index 57d7985107d0ea4fdc9f5529ecc61ffe3cfa448f..4e61d5074e7b371abaa3ae043bbb2b50f3e869ff 100644 (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));
 }