From 79e66317275612c9696e51cc8830d78c19dc30d6 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 11 Feb 2007 03:13:12 +0000 Subject: [PATCH] made GetStrings() const (patch 1655975) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- contrib/include/wx/gizmos/editlbox.h | 2 +- contrib/src/gizmos/editlbox.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/include/wx/gizmos/editlbox.h b/contrib/include/wx/gizmos/editlbox.h index f9f552795a..72d3949031 100644 --- a/contrib/include/wx/gizmos/editlbox.h +++ b/contrib/include/wx/gizmos/editlbox.h @@ -38,7 +38,7 @@ public: const wxString& name = wxT("editableListBox")); void SetStrings(const wxArrayString& strings); - void GetStrings(wxArrayString& strings); + void GetStrings(wxArrayString& strings) const; wxListCtrl* GetListCtrl() { return m_listCtrl; } wxBitmapButton* GetDelButton() { return m_bDel; } diff --git a/contrib/src/gizmos/editlbox.cpp b/contrib/src/gizmos/editlbox.cpp index a9315781de..e7be1d4a0e 100644 --- a/contrib/src/gizmos/editlbox.cpp +++ b/contrib/src/gizmos/editlbox.cpp @@ -189,7 +189,7 @@ void wxEditableListBox::SetStrings(const wxArrayString& strings) m_listCtrl->SetItemState(0, wxLIST_STATE_SELECTED, wxLIST_STATE_SELECTED); } -void wxEditableListBox::GetStrings(wxArrayString& strings) +void wxEditableListBox::GetStrings(wxArrayString& strings) const { strings.Clear(); -- 2.45.2