X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43c48e1e53d74cef62d15f08f015d9efeb45a0c1..1b7751aaa9a86d76a850b9267bc0c201e3cea30f:/interface/wx/fdrepdlg.h diff --git a/interface/wx/fdrepdlg.h b/interface/wx/fdrepdlg.h index 997e5330ba..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).