20#ifndef FNDRPLDIALOG_HPP
21#define FNDRPLDIALOG_HPP
23#include <wx/fdrepdlg.h>
29#include <wx/checkbox.h>
30#include <wx/radiobox.h>
31#include <wx/stattext.h>
32#include <wx/textctrl.h>
33#include <wx/settings.h>
35#include "../compositions/viewerbook.hpp"
36#include "../compositions/viewerpanel.hpp"
38#define wxFR_WRAPAROUND 8
46 wxFindReplaceData *data,
47 const wxString& title,
52 (void)
Create(parent, data, title, style);
55 bool Create(wxWindow *parent,
56 wxFindReplaceData *data,
57 const wxString& title,
73 void SendEvent(
const wxEventType& evtType);
75 void OnFind(wxCommandEvent& event);
78 void OnCancel(wxCommandEvent& event);
80 void OnEnter(wxMouseEvent& event);
110 DECLARE_EVENT_TABLE()
void OnReplaceAll(wxCommandEvent &event)
wxCheckBox * m_chkWrapAround
void OnCancel(wxCommandEvent &event)
void OnLoseFocus(wxFocusEvent &event)
void OnCloseWindow(wxCloseEvent &event)
void OnEnter(wxMouseEvent &event)
void OnUpdateFindUI(wxUpdateUIEvent &event)
void OnFind(wxCommandEvent &event)
bool Create(wxWindow *parent, wxFindReplaceData *data, const wxString &title, int style=0)
wxRadioBox * m_radioDirRepl
void OnPageChange(wxNotebookEvent &event)
wxCheckBox * m_chkWrapAroundRepl
wxCheckBox * m_chkCaseRepl
wxCheckBox * m_chkWordRepl
FindReplaceDialog(wxWindow *parent, wxFindReplaceData *data, const wxString &title, int style=0)
wxTextCtrl * m_textFindRepl
void OnReplace(wxCommandEvent &event)
void OnGainFocus(wxFocusEvent &event)
void SendEvent(const wxEventType &evtType)