]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_toolb.cpp
non mach-o fix
[wxWidgets.git] / src / xrc / xh_toolb.cpp
index ba53f016f08b610c78608ed78edd86b92fdb1ed7..62dd7707167d33def5047c7b418204d45c3809fd 100644 (file)
@@ -118,6 +118,8 @@ wxObject *wxToolBarXmlHandler::DoCreateResource()
         long separation = GetLong(wxT("separation"), -1);
         if (separation != -1)
             toolbar->SetToolSeparation(separation);
+        if (HasParam(wxT("bg")))
+            toolbar->SetBackgroundColour(GetColour(wxT("bg")));
 
         wxXmlNode *children_node = GetParamNode(wxT("object"));
         if (!children_node)