30 #ifndef FINDREPLACEPANE_H
31 #define FINDREPLACEPANE_H
34 #include <wx/fdrepdlg.h>
37 #include <wx/radiobut.h>
38 #include <wx/checkbox.h>
39 #include <wx/textctrl.h>
47 wxFindReplaceData *m_findReplaceData;
50 wxTextCtrl *m_searchText;
51 wxTextCtrl *m_replaceText;
52 wxButton *m_searchButton;
53 wxButton *m_replaceButton;
54 wxButton *m_replaceAllButton;
55 wxRadioButton *m_forward;
56 wxRadioButton *m_backwards;
57 wxCheckBox *m_matchCase;
62 wxString GetFindString()
63 {
return m_findReplaceData->GetFindString(); }
65 void SetFindString(wxString
string);
67 wxFindReplaceData *GetData()
68 {
return m_findReplaceData; }
71 void OnActivate(wxActivateEvent &event);
73 void OnSearch(wxCommandEvent &event);
75 void OnReplace(wxCommandEvent &event);
77 void OnReplaceAll(wxCommandEvent &event);
79 void OnReplaceStringChange(wxCommandEvent &event);
81 void OnFindStringChange(wxCommandEvent &event);
83 void OnDirectionChange(wxCommandEvent &event);
85 void OnMatchCase(wxCommandEvent &event);
87 void OnKeyDown(wxKeyEvent &event);
91 #endif // FINDREPLACEPANE_H