]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/aui/auidemo.cpp
Removed deprecated functions wxPGChoices::HasValue(), HasValues()
[wxWidgets.git] / samples / aui / auidemo.cpp
index 2b6dcfa06918e8b2faa8aeafc3bfb48be6d2a243..e3dae64d42fe316651ea531c7d8bbdc4b2743546 100644 (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);