X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c99e2fd1b3432974b892be508c0757da5b6ad49..b09857ae000a60704207d63290be937584805fb0:/interface/wx/fdrepdlg.h?ds=sidebyside diff --git a/interface/wx/fdrepdlg.h b/interface/wx/fdrepdlg.h index a396bab8f8..fa9d16c4ac 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,7 +39,7 @@ enum wxFindReplaceDialogStyles /** don't allow whole word searching */ wxFR_NOWHOLEWORD = 8 -} +}; /** @@ -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_COMMAND_FIND; +wxEventType wxEVT_COMMAND_FIND_NEXT; +wxEventType wxEVT_COMMAND_FIND_REPLACE; +wxEventType wxEVT_COMMAND_FIND_REPLACE_ALL; +wxEventType wxEVT_COMMAND_FIND_CLOSE; + /** @@ -117,14 +123,14 @@ 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).