X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/adaaa68635b4c8a4d8c5284add40366ea3eefb07..d3fa4bc22e84e3ca4d88cc1772f2d414140a1017:/interface/wx/fdrepdlg.h diff --git a/interface/wx/fdrepdlg.h b/interface/wx/fdrepdlg.h index f011ee982b..3999cac248 100644 --- a/interface/wx/fdrepdlg.h +++ b/interface/wx/fdrepdlg.h @@ -3,7 +3,7 @@ // Purpose: interface of wxFindDialogEvent, wxFindReplaceDialog // Author: wxWidgets team // RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -20,7 +20,7 @@ enum wxFindReplaceFlags /** case sensitive search/replace selected (otherwise - case insensitive) */ wxFR_MATCHCASE = 4 -} +}; /** @@ -39,13 +39,13 @@ enum wxFindReplaceDialogStyles /** don't allow whole word searching */ wxFR_NOWHOLEWORD = 8 -} +}; /** @class wxFindDialogEvent - wxFindReplaceDialog events + wxFindReplaceDialog events. @beginEventTable{wxFindDialogEvent} @event{EVT_FIND(id, func)} @@ -67,7 +67,7 @@ class wxFindDialogEvent : public wxCommandEvent { public: /** - Constuctor used by wxWidgets only. + Constructor used by wxWidgets only. */ wxFindDialogEvent(wxEventType commandType = wxEVT_NULL, int id = 0); @@ -95,6 +95,12 @@ public: const wxString& GetReplaceString() const; }; +wxEventType wxEVT_FIND; +wxEventType wxEVT_FIND_NEXT; +wxEventType wxEVT_FIND_REPLACE; +wxEventType wxEVT_FIND_REPLACE_ALL; +wxEventType wxEVT_FIND_CLOSE; + /** @@ -111,20 +117,20 @@ public: dialog and calling them has no effect later. @library{wxcore} - @category{data} + @category{cmndlg,data} */ class wxFindReplaceData : public wxObject { public: /** - Constuctor initializes the flags to default value (0). + Constructor initializes the flags to default value (0). */ wxFindReplaceData(wxUint32 flags = 0); /** Get the string to find. */ - const wxString GetFindString(); + const wxString& GetFindString() const; /** Get the combination of @c wxFindReplaceFlags values. @@ -134,7 +140,7 @@ public: /** Get the replacement string. */ - const wxString GetReplaceString(); + const wxString& GetReplaceString() const; /** Set the string to find (used as initial value by the dialog).