1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/generic/fdrepdlg.h
3 // Purpose: wxGenericFindReplaceDialog class
4 // Author: Markus Greither
7 // Copyright: (c) wxWidgets team
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 #ifndef _WX_GENERIC_FDREPDLG_H_
12 #define _WX_GENERIC_FDREPDLG_H_
14 class WXDLLIMPEXP_FWD_CORE wxCheckBox
;
15 class WXDLLIMPEXP_FWD_CORE wxRadioBox
;
16 class WXDLLIMPEXP_FWD_CORE wxTextCtrl
;
18 // ----------------------------------------------------------------------------
19 // wxGenericFindReplaceDialog: dialog for searching / replacing text
20 // ----------------------------------------------------------------------------
22 class WXDLLIMPEXP_CORE wxGenericFindReplaceDialog
: public wxFindReplaceDialogBase
25 wxGenericFindReplaceDialog() { Init(); }
27 wxGenericFindReplaceDialog(wxWindow
*parent
,
28 wxFindReplaceData
*data
,
29 const wxString
& title
,
34 (void)Create(parent
, data
, title
, style
);
37 bool Create(wxWindow
*parent
,
38 wxFindReplaceData
*data
,
39 const wxString
& title
,
45 void SendEvent(const wxEventType
& evtType
);
47 void OnFind(wxCommandEvent
& event
);
48 void OnReplace(wxCommandEvent
& event
);
49 void OnReplaceAll(wxCommandEvent
& event
);
50 void OnCancel(wxCommandEvent
& event
);
52 void OnUpdateFindUI(wxUpdateUIEvent
& event
);
54 void OnCloseWindow(wxCloseEvent
& event
);
56 wxCheckBox
*m_chkCase
,
59 wxRadioBox
*m_radioDir
;
61 wxTextCtrl
*m_textFind
,
65 DECLARE_DYNAMIC_CLASS(wxGenericFindReplaceDialog
)
70 #endif // _WX_GENERIC_FDREPDLG_H_