1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/fdrepdlg.h
3 // Purpose: wxGenericFindReplaceDialog class
4 // Author: Markus Greither
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_GENERIC_FDREPDLG_H_
13 #define _WX_GENERIC_FDREPDLG_H_
15 class WXDLLIMPEXP_FWD_CORE wxCheckBox
;
16 class WXDLLIMPEXP_FWD_CORE wxRadioBox
;
17 class WXDLLIMPEXP_FWD_CORE wxTextCtrl
;
19 // ----------------------------------------------------------------------------
20 // wxGenericFindReplaceDialog: dialog for searching / replacing text
21 // ----------------------------------------------------------------------------
23 class WXDLLIMPEXP_CORE wxGenericFindReplaceDialog
: public wxFindReplaceDialogBase
26 wxGenericFindReplaceDialog() { Init(); }
28 wxGenericFindReplaceDialog(wxWindow
*parent
,
29 wxFindReplaceData
*data
,
30 const wxString
& title
,
35 (void)Create(parent
, data
, title
, style
);
38 bool Create(wxWindow
*parent
,
39 wxFindReplaceData
*data
,
40 const wxString
& title
,
46 void SendEvent(const wxEventType
& evtType
);
48 void OnFind(wxCommandEvent
& event
);
49 void OnReplace(wxCommandEvent
& event
);
50 void OnReplaceAll(wxCommandEvent
& event
);
51 void OnCancel(wxCommandEvent
& event
);
53 void OnUpdateFindUI(wxUpdateUIEvent
& event
);
55 void OnCloseWindow(wxCloseEvent
& event
);
57 wxCheckBox
*m_chkCase
,
60 wxRadioBox
*m_radioDir
;
62 wxTextCtrl
*m_textFind
,
66 DECLARE_DYNAMIC_CLASS(wxGenericFindReplaceDialog
)
71 #endif // _WX_GENERIC_FDREPDLG_H_