]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_toolb.cpp
Fixed apparent typo in wxGridCellAttr::MergeWith, hopefully fixing
[wxWidgets.git] / src / xrc / xh_toolb.cpp
index 31513e75b14b231dec35e20b8d5f3c87319e5ef2..6fe844c348122b9e4628d5f0777475d8d635d644 100644 (file)
@@ -40,8 +40,8 @@ wxObject *wxToolBarXmlHandler::DoCreateResource()
     {
         wxCHECK_MSG(m_toolbar, NULL, wxT("Incorrect syntax of XRC resource: tool not within a toolbar!"));
         m_toolbar->AddTool(GetID(),
-                           GetBitmap(wxT("bitmap")),
-                           GetBitmap(wxT("bitmap2")),
+                           GetBitmap(wxT("bitmap"), wxART_TOOLBAR),
+                           GetBitmap(wxT("bitmap2"), wxART_TOOLBAR),
                            GetBool(wxT("toggle")),
                            GetPosition().x,
                            GetPosition().y,