made GetStrings() const (patch 1655975)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-02-11 03:13:12 +00:00
parent a19918eb35
commit 79e6631727
2 changed files with 2 additions and 2 deletions

View File

@@ -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; }

View File

@@ -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();