Add support for column header images to wxListCtrl XRC handler.

Fixes #13319 (patch).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2011-07-16 10:05:02 +00:00
parent d8eae94f53
commit 7243eb6d3b
4 changed files with 20 additions and 5 deletions

View File

@@ -229,9 +229,9 @@ void MyFrame::OnControlsToolOrMenuCommand(wxCommandEvent& WXUNUSED(event))
// XRCCTRL
wxListCtrl * const list = XRCCTRL(dlg, "controls_listctrl", wxListCtrl);
list->InsertItem(0, "Athos"); list->SetItem(0, 1, "90");
list->InsertItem(1, "Porthos"); list->SetItem(1, 1, "120");
list->InsertItem(2, "Aramis"); list->SetItem(2, 1, "80");
list->InsertItem(0, "Athos", 0); list->SetItem(0, 1, "90", 2);
list->InsertItem(1, "Porthos", 5); list->SetItem(1, 1, "120", 3);
list->InsertItem(2, "Aramis", 1); list->SetItem(2, 1, "80", 4);
#endif // wxUSE_LISTCTRL
#if wxUSE_TREECTRL