fix aui sample breakage; added some accessor methods to wxAuiToolBarItem

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams
2008-09-08 09:56:49 +00:00
parent 375f364ef2
commit 0766faa34e
2 changed files with 13 additions and 4 deletions

View File

@@ -760,11 +760,11 @@ MyFrame::MyFrame(wxWindow* parent,
wxAuiToolBarItemArray prepend_items;
wxAuiToolBarItemArray append_items;
wxAuiToolBarItem item;
item.kind = wxITEM_SEPARATOR;
item.SetKind(wxITEM_SEPARATOR);
append_items.Add(item);
item.kind = wxITEM_NORMAL;
item.id = ID_CustomizeToolbar;
item.label = _("Customize...");
item.SetKind(wxITEM_NORMAL);
item.SetId(ID_CustomizeToolbar);
item.SetLabel(_("Customize..."));
append_items.Add(item);