wxFindReplaceDialog events

Derived from


Include files


Event table macros

To process a command event from wxFindReplaceDialog, use these event handler macros to direct input to member functions that take a wxFindDialogEvent argument. The id parameter is the identifier of the find dialog and you may usually specify $-1$ for it unless you plan to have several find dialogs sending events to the same owner window simultaneously.

EVT_FIND(id, func) Find button was pressed in the dialog.
EVT_FIND_NEXT(id, func) Find next button was pressed in the dialog.
EVT_FIND_REPLACE(id, func) Replace button was pressed in the dialog.
EVT_FIND_REPLACE_ALL(id, func) Replace all button was pressed in the dialog.
EVT_FIND_CLOSE(id, func) The dialog is being destroyed, any pointers to it cannot be used any longer.


wxFindDialogEvent(wxEventType commandType = wxEVT_NULL, int id = 0)

Constuctor used by wxWidgets only.


int GetFlags(void) const

Get the currently selected flags: this is the combination of wxFR_DOWN, wxFR_WHOLEWORD and wxFR_MATCHCASE flags.


wxString GetFindString(void) const

Return the string to find (never empty).


const wxString& GetReplaceString(void) const

Return the string to replace the search string with (only for replace and replace all events).


wxFindReplaceDialog* GetDialog(void) const

Return the pointer to the dialog which generated this event.

ymasuda 平成17年11月19日