X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..d8efd2198ff050ca5a5726bcad0f42692fe872df:/interface/wx/fdrepdlg.h diff --git a/interface/wx/fdrepdlg.h b/interface/wx/fdrepdlg.h index e704d00c4e..997e5330ba 100644 --- a/interface/wx/fdrepdlg.h +++ b/interface/wx/fdrepdlg.h @@ -44,7 +44,6 @@ enum wxFindReplaceDialogStyles /** @class wxFindDialogEvent - @wxheader{fdrepdlg.h} wxFindReplaceDialog events @@ -100,7 +99,6 @@ public: /** @class wxFindReplaceData - @wxheader{fdrepdlg.h} wxFindReplaceData holds the data for wxFindReplaceDialog. @@ -126,7 +124,7 @@ public: /** Get the string to find. */ - const wxString GetFindString(); + const wxString& GetFindString(); /** Get the combination of @c wxFindReplaceFlags values. @@ -136,7 +134,7 @@ public: /** Get the replacement string. */ - const wxString GetReplaceString(); + const wxString& GetReplaceString(); /** Set the string to find (used as initial value by the dialog). @@ -158,7 +156,6 @@ public: /** @class wxFindReplaceDialog - @wxheader{fdrepdlg.h} wxFindReplaceDialog is a standard modeless dialog which is used to allow the user to search for some text (and possibly replace it with something else). @@ -192,7 +189,7 @@ public: /** Destructor. */ - ~wxFindReplaceDialog(); + virtual ~wxFindReplaceDialog(); /** Creates the dialog; use wxWindow::Show to show it on screen.