X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..36a0190ebd5bd9a7302f60f6dcd608b80574e21c:/interface/wx/fdrepdlg.h diff --git a/interface/wx/fdrepdlg.h b/interface/wx/fdrepdlg.h index e704d00c4e..eca36e5246 100644 --- a/interface/wx/fdrepdlg.h +++ b/interface/wx/fdrepdlg.h @@ -2,8 +2,7 @@ // Name: fdrepdlg.h // Purpose: interface of wxFindDialogEvent, wxFindReplaceDialog // Author: wxWidgets team -// RCS-ID: $Id$ -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -20,7 +19,7 @@ enum wxFindReplaceFlags /** case sensitive search/replace selected (otherwise - case insensitive) */ wxFR_MATCHCASE = 4 -} +}; /** @@ -39,14 +38,13 @@ enum wxFindReplaceDialogStyles /** don't allow whole word searching */ wxFR_NOWHOLEWORD = 8 -} +}; /** @class wxFindDialogEvent - @wxheader{fdrepdlg.h} - wxFindReplaceDialog events + wxFindReplaceDialog events. @beginEventTable{wxFindDialogEvent} @event{EVT_FIND(id, func)} @@ -68,7 +66,7 @@ class wxFindDialogEvent : public wxCommandEvent { public: /** - Constuctor used by wxWidgets only. + Constructor used by wxWidgets only. */ wxFindDialogEvent(wxEventType commandType = wxEVT_NULL, int id = 0); @@ -96,11 +94,16 @@ 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; + /** @class wxFindReplaceData - @wxheader{fdrepdlg.h} wxFindReplaceData holds the data for wxFindReplaceDialog. @@ -113,20 +116,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. @@ -136,7 +139,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). @@ -158,7 +161,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 +194,7 @@ public: /** Destructor. */ - ~wxFindReplaceDialog(); + virtual ~wxFindReplaceDialog(); /** Creates the dialog; use wxWindow::Show to show it on screen.