]> git.saurik.com Git - wxWidgets.git/commitdiff
made GetStrings() const (patch 1655975)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Feb 2007 03:13:12 +0000 (03:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Feb 2007 03:13:12 +0000 (03:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

contrib/include/wx/gizmos/editlbox.h
contrib/src/gizmos/editlbox.cpp

index f9f552795a763eb8ab2cfdb90549e39807e474be..72d394903126d14d31b17a19dab9888854a3e99f 100644 (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; }
index a9315781decef7b06fc3ed05620f75226d5620bd..e7be1d4a0e5ebec0297819e0022a8a9a2a8a79b5 100644 (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();