// Name: fdrepdlg.h
// Purpose: interface of wxFindDialogEvent, wxFindReplaceDialog
// Author: wxWidgets team
-// RCS-ID: $Id$
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
/** case sensitive search/replace selected (otherwise - case insensitive) */
wxFR_MATCHCASE = 4
-}
+};
/**
/** don't allow whole word searching */
wxFR_NOWHOLEWORD = 8
-}
+};
/**
{
public:
/**
- Constuctor used by wxWidgets only.
+ Constructor used by wxWidgets only.
*/
wxFindDialogEvent(wxEventType commandType = wxEVT_NULL,
int id = 0);
const wxString& GetReplaceString() const;
};
+wxEventType wxEVT_FIND;
+wxEventType wxEVT_FIND_NEXT;
+wxEventType wxEVT_FIND_REPLACE;
+wxEventType wxEVT_FIND_REPLACE_ALL;
+wxEventType wxEVT_FIND_CLOSE;
+
/**
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.
/**
Get the replacement string.
*/
- const wxString& GetReplaceString();
+ const wxString& GetReplaceString() const;
/**
Set the string to find (used as initial value by the dialog).