/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/generic/fdrepdlg.h
ViewVC logotype

Contents of /branch/r3113_0.9.7_beta/3rdparty/wxWidgets/include/wx/generic/fdrepdlg.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations) (download)
Tue Sep 7 03:29:01 2010 UTC (9 years, 10 months ago) by william
File MIME type: text/plain
File size: 1962 byte(s)
branching from upstream revision (http://pcsx2.googlecode.com/svn/trunk
): r3113 to
https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7/branch/r3113_0.9.7_beta
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: wx/msw/fdrepdlg.h
3 // Purpose: wxGenericFindReplaceDialog class
4 // Author: Markus Greither
5 // Modified by:
6 // Created: 25/05/2001
7 // RCS-ID:
8 // Copyright: (c) wxWidgets team
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 #ifndef _WX_GENERIC_FDREPDLG_H_
13 #define _WX_GENERIC_FDREPDLG_H_
14
15 class WXDLLEXPORT wxCheckBox;
16 class WXDLLEXPORT wxRadioBox;
17 class WXDLLEXPORT wxTextCtrl;
18
19 // ----------------------------------------------------------------------------
20 // wxGenericFindReplaceDialog: dialog for searching / replacing text
21 // ----------------------------------------------------------------------------
22
23 class WXDLLEXPORT wxGenericFindReplaceDialog : public wxFindReplaceDialogBase
24 {
25 public:
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
43 protected:
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
65 private:
66 DECLARE_DYNAMIC_CLASS(wxGenericFindReplaceDialog)
67
68 DECLARE_EVENT_TABLE()
69 };
70
71 #endif // _WX_GENERIC_FDREPDLG_H_

  ViewVC Help
Powered by ViewVC 1.1.22