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 class WXDLLEXPORT wxCheckBox
;
13 class WXDLLEXPORT wxRadioBox
;
14 class WXDLLEXPORT wxTextCtrl
;
16 // ----------------------------------------------------------------------------
17 // wxGenericFindReplaceDialog: dialog for searching / replacing text
18 // ----------------------------------------------------------------------------
20 class WXDLLEXPORT wxGenericFindReplaceDialog
: public wxFindReplaceDialogBase
23 wxGenericFindReplaceDialog() { Init(); }
25 wxGenericFindReplaceDialog(wxWindow
*parent
,
26 wxFindReplaceData
*data
,
27 const wxString
& title
,
32 (void)Create(parent
, data
, title
, style
);
35 bool Create(wxWindow
*parent
,
36 wxFindReplaceData
*data
,
37 const wxString
& title
,
43 void SendEvent(const wxEventType
& evtType
);
45 void OnFind(wxCommandEvent
& event
);
46 void OnReplace(wxCommandEvent
& event
);
47 void OnReplaceAll(wxCommandEvent
& event
);
48 void OnCancel(wxCommandEvent
& event
);
50 void OnUpdateFindUI(wxUpdateUIEvent
& event
);
52 void OnCloseWindow(wxCloseEvent
& event
);
54 wxCheckBox
*m_chkCase
,
57 wxRadioBox
*m_radioDir
;
59 wxTextCtrl
*m_textFind
,
63 DECLARE_DYNAMIC_CLASS(wxGenericFindReplaceDialog
)