]> git.saurik.com Git - wxWidgets.git/blame - include/wx/generic/fdrepdlg.h
Somehow, setting a tint color makes gauge work :/.
[wxWidgets.git] / include / wx / generic / fdrepdlg.h
CommitLineData
8db37e06 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: wx/generic/fdrepdlg.h
8db37e06
VZ
3// Purpose: wxGenericFindReplaceDialog class
4// Author: Markus Greither
5// Modified by:
6// Created: 25/05/2001
77ffb593 7// Copyright: (c) wxWidgets team
65571936 8// Licence: wxWindows licence
8db37e06
VZ
9/////////////////////////////////////////////////////////////////////////////
10
20ceebaa
MW
11#ifndef _WX_GENERIC_FDREPDLG_H_
12#define _WX_GENERIC_FDREPDLG_H_
13
b5dbe15d
VS
14class WXDLLIMPEXP_FWD_CORE wxCheckBox;
15class WXDLLIMPEXP_FWD_CORE wxRadioBox;
16class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
8db37e06
VZ
17
18// ----------------------------------------------------------------------------
19// wxGenericFindReplaceDialog: dialog for searching / replacing text
20// ----------------------------------------------------------------------------
21
53a2db12 22class WXDLLIMPEXP_CORE wxGenericFindReplaceDialog : public wxFindReplaceDialogBase
8db37e06
VZ
23{
24public:
25 wxGenericFindReplaceDialog() { Init(); }
26
27 wxGenericFindReplaceDialog(wxWindow *parent,
28 wxFindReplaceData *data,
29 const wxString& title,
30 int style = 0)
31 {
32 Init();
33
34 (void)Create(parent, data, title, style);
35 }
36
37 bool Create(wxWindow *parent,
38 wxFindReplaceData *data,
39 const wxString& title,
40 int style = 0);
41
42protected:
43 void Init();
44
45 void SendEvent(const wxEventType& evtType);
46
47 void OnFind(wxCommandEvent& event);
48 void OnReplace(wxCommandEvent& event);
49 void OnReplaceAll(wxCommandEvent& event);
50 void OnCancel(wxCommandEvent& event);
51
52 void OnUpdateFindUI(wxUpdateUIEvent& event);
53
54 void OnCloseWindow(wxCloseEvent& event);
55
56 wxCheckBox *m_chkCase,
57 *m_chkWord;
58
59 wxRadioBox *m_radioDir;
60
61 wxTextCtrl *m_textFind,
62 *m_textRepl;
63
64private:
65 DECLARE_DYNAMIC_CLASS(wxGenericFindReplaceDialog)
66
67 DECLARE_EVENT_TABLE()
68};
69
20ceebaa 70#endif // _WX_GENERIC_FDREPDLG_H_