Make wxFindReplaceData accessors const.
Closes #14755. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -67,8 +67,8 @@ public:
|
|||||||
wxFindReplaceData(wxUint32 flags) { Init(); SetFlags(flags); }
|
wxFindReplaceData(wxUint32 flags) { Init(); SetFlags(flags); }
|
||||||
|
|
||||||
// accessors
|
// accessors
|
||||||
const wxString& GetFindString() { return m_FindWhat; }
|
const wxString& GetFindString() const { return m_FindWhat; }
|
||||||
const wxString& GetReplaceString() { return m_ReplaceWith; }
|
const wxString& GetReplaceString() const { return m_ReplaceWith; }
|
||||||
|
|
||||||
int GetFlags() const { return m_Flags; }
|
int GetFlags() const { return m_Flags; }
|
||||||
|
|
||||||
|
@@ -130,7 +130,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Get the string to find.
|
Get the string to find.
|
||||||
*/
|
*/
|
||||||
const wxString& GetFindString();
|
const wxString& GetFindString() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Get the combination of @c wxFindReplaceFlags values.
|
Get the combination of @c wxFindReplaceFlags values.
|
||||||
@@ -140,7 +140,7 @@ public:
|
|||||||
/**
|
/**
|
||||||
Get the replacement string.
|
Get the replacement string.
|
||||||
*/
|
*/
|
||||||
const wxString& GetReplaceString();
|
const wxString& GetReplaceString() const;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Set the string to find (used as initial value by the dialog).
|
Set the string to find (used as initial value by the dialog).
|
||||||
|
Reference in New Issue
Block a user