3f66f6a5b3
This keyword is not expanded by Git which means it's not replaced with the correct revision value in the releases made using git-based scripts and it's confusing to have lines with unexpanded "$Id$" in the released files. As expanding them with Git is not that simple (it could be done with git archive and export-subst attribute) and there are not many benefits in having them in the first place, just remove all these lines. If nothing else, this will make an eventual transition to Git simpler. Closes #14487. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
71 lines
1.9 KiB
C++
71 lines
1.9 KiB
C++
/////////////////////////////////////////////////////////////////////////////
|
|
// Name: wx/generic/fdrepdlg.h
|
|
// Purpose: wxGenericFindReplaceDialog class
|
|
// Author: Markus Greither
|
|
// Modified by:
|
|
// Created: 25/05/2001
|
|
// Copyright: (c) wxWidgets team
|
|
// Licence: wxWindows licence
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _WX_GENERIC_FDREPDLG_H_
|
|
#define _WX_GENERIC_FDREPDLG_H_
|
|
|
|
class WXDLLIMPEXP_FWD_CORE wxCheckBox;
|
|
class WXDLLIMPEXP_FWD_CORE wxRadioBox;
|
|
class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
|
|
|
|
// ----------------------------------------------------------------------------
|
|
// wxGenericFindReplaceDialog: dialog for searching / replacing text
|
|
// ----------------------------------------------------------------------------
|
|
|
|
class WXDLLIMPEXP_CORE wxGenericFindReplaceDialog : public wxFindReplaceDialogBase
|
|
{
|
|
public:
|
|
wxGenericFindReplaceDialog() { Init(); }
|
|
|
|
wxGenericFindReplaceDialog(wxWindow *parent,
|
|
wxFindReplaceData *data,
|
|
const wxString& title,
|
|
int style = 0)
|
|
{
|
|
Init();
|
|
|
|
(void)Create(parent, data, title, style);
|
|
}
|
|
|
|
bool Create(wxWindow *parent,
|
|
wxFindReplaceData *data,
|
|
const wxString& title,
|
|
int style = 0);
|
|
|
|
protected:
|
|
void Init();
|
|
|
|
void SendEvent(const wxEventType& evtType);
|
|
|
|
void OnFind(wxCommandEvent& event);
|
|
void OnReplace(wxCommandEvent& event);
|
|
void OnReplaceAll(wxCommandEvent& event);
|
|
void OnCancel(wxCommandEvent& event);
|
|
|
|
void OnUpdateFindUI(wxUpdateUIEvent& event);
|
|
|
|
void OnCloseWindow(wxCloseEvent& event);
|
|
|
|
wxCheckBox *m_chkCase,
|
|
*m_chkWord;
|
|
|
|
wxRadioBox *m_radioDir;
|
|
|
|
wxTextCtrl *m_textFind,
|
|
*m_textRepl;
|
|
|
|
private:
|
|
DECLARE_DYNAMIC_CLASS(wxGenericFindReplaceDialog)
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
};
|
|
|
|
#endif // _WX_GENERIC_FDREPDLG_H_
|