Make source string const in wxPropertyGrid escape sequence methods
Source string is not changed in {Expand,Create}EscapeSequences() methods, so
make it const.
Closes https://github.com/wxWidgets/wxWidgets/pull/271
This commit is contained in:
committed by
Vadim Zeitlin
parent
c6570770bc
commit
d4460435d9
@@ -1733,7 +1733,7 @@ wxPoint wxPropertyGrid::GetGoodEditorDialogPosition( wxPGProperty* p,
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
wxString& wxPropertyGrid::ExpandEscapeSequences( wxString& dst_str, wxString& src_str )
|
||||
wxString& wxPropertyGrid::ExpandEscapeSequences( wxString& dst_str, const wxString& src_str )
|
||||
{
|
||||
dst_str.clear();
|
||||
|
||||
@@ -1791,7 +1791,7 @@ wxString& wxPropertyGrid::ExpandEscapeSequences( wxString& dst_str, wxString& sr
|
||||
|
||||
// -----------------------------------------------------------------------
|
||||
|
||||
wxString& wxPropertyGrid::CreateEscapeSequences( wxString& dst_str, wxString& src_str )
|
||||
wxString& wxPropertyGrid::CreateEscapeSequences( wxString& dst_str, const wxString& src_str )
|
||||
{
|
||||
dst_str.clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user