1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/fdrepdlg.h
3 // Purpose: wxGenericFindReplaceDialog class
4 // Author: Markus Greither
8 // Copyright: (c) wxWindows team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
13 #pragma interface "genericfdrepdlg.h"
16 class WXDLLEXPORT wxCheckBox
;
17 class WXDLLEXPORT wxRadioBox
;
18 class WXDLLEXPORT wxTextCtrl
;
20 // ----------------------------------------------------------------------------
21 // wxGenericFindReplaceDialog: dialog for searching / replacing text
22 // ----------------------------------------------------------------------------
24 class WXDLLEXPORT wxGenericFindReplaceDialog
: public wxFindReplaceDialogBase
27 wxGenericFindReplaceDialog() { Init(); }
29 wxGenericFindReplaceDialog(wxWindow
*parent
,
30 wxFindReplaceData
*data
,
31 const wxString
& title
,
36 (void)Create(parent
, data
, title
, style
);
39 bool Create(wxWindow
*parent
,
40 wxFindReplaceData
*data
,
41 const wxString
& title
,
47 void SendEvent(const wxEventType
& evtType
);
49 void OnFind(wxCommandEvent
& event
);
50 void OnReplace(wxCommandEvent
& event
);
51 void OnReplaceAll(wxCommandEvent
& event
);
52 void OnCancel(wxCommandEvent
& event
);
54 void OnUpdateFindUI(wxUpdateUIEvent
& event
);
56 void OnCloseWindow(wxCloseEvent
& event
);
58 wxCheckBox
*m_chkCase
,
61 wxRadioBox
*m_radioDir
;
63 wxTextCtrl
*m_textFind
,
67 DECLARE_DYNAMIC_CLASS(wxGenericFindReplaceDialog
)