]> git.saurik.com Git - wxWidgets.git/blame - include/wx/generic/fdrepdlg.h
removing outdated code
[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
2903e699 7// RCS-ID: $Id$
77ffb593 8// Copyright: (c) wxWidgets team
65571936 9// Licence: wxWindows licence
8db37e06
VZ
10/////////////////////////////////////////////////////////////////////////////
11
20ceebaa
MW
12#ifndef _WX_GENERIC_FDREPDLG_H_
13#define _WX_GENERIC_FDREPDLG_H_
14
b5dbe15d
VS
15class WXDLLIMPEXP_FWD_CORE wxCheckBox;
16class WXDLLIMPEXP_FWD_CORE wxRadioBox;
17class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
8db37e06
VZ
18
19// ----------------------------------------------------------------------------
20// wxGenericFindReplaceDialog: dialog for searching / replacing text
21// ----------------------------------------------------------------------------
22
53a2db12 23class WXDLLIMPEXP_CORE wxGenericFindReplaceDialog : public wxFindReplaceDialogBase
8db37e06
VZ
24{
25public:
26 wxGenericFindReplaceDialog() { Init(); }
27
28 wxGenericFindReplaceDialog(wxWindow *parent,
29 wxFindReplaceData *data,
30 const wxString& title,
31 int style = 0)
32 {
33 Init();
34
35 (void)Create(parent, data, title, style);
36 }
37
38 bool Create(wxWindow *parent,
39 wxFindReplaceData *data,
40 const wxString& title,
41 int style = 0);
42
43protected:
44 void Init();
45
46 void SendEvent(const wxEventType& evtType);
47
48 void OnFind(wxCommandEvent& event);
49 void OnReplace(wxCommandEvent& event);
50 void OnReplaceAll(wxCommandEvent& event);
51 void OnCancel(wxCommandEvent& event);
52
53 void OnUpdateFindUI(wxUpdateUIEvent& event);
54
55 void OnCloseWindow(wxCloseEvent& event);
56
57 wxCheckBox *m_chkCase,
58 *m_chkWord;
59
60 wxRadioBox *m_radioDir;
61
62 wxTextCtrl *m_textFind,
63 *m_textRepl;
64
65private:
66 DECLARE_DYNAMIC_CLASS(wxGenericFindReplaceDialog)
67
68 DECLARE_EVENT_TABLE()
69};
70
20ceebaa 71#endif // _WX_GENERIC_FDREPDLG_H_