SetStringSelection: wxString& should be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -63,7 +63,8 @@ public:
|
||||
virtual void SetSelection(int);
|
||||
// Overlapping methods
|
||||
virtual wxString GetStringSelection();
|
||||
virtual void SetStringSelection(wxString& selection);
|
||||
// other methods
|
||||
virtual void SetStringSelection(const wxString& selection);
|
||||
// wxItemContainer
|
||||
virtual void Clear();
|
||||
virtual void Delete(int);
|
||||
|
@@ -63,7 +63,7 @@ wxString wxComboBox::GetStringSelection()
|
||||
return wxEmptyString;
|
||||
}
|
||||
|
||||
void wxComboBox::SetStringSelection(wxString& selection)
|
||||
void wxComboBox::SetStringSelection(const wxString& selection)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user