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:
@@ -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; }
|
||||
|
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user