pgadmin3/include/dlg/dlgFindReplace.h
2020-07-07 22:19:12 +05:00

46 lines
1 KiB
C++

//////////////////////////////////////////////////////////////////////////
//
// pgAdmin III - PostgreSQL Tools
//
// Copyright (C) 2002 - 2016, The pgAdmin Development Team
// This software is released under the PostgreSQL Licence
//
// dlgFindReplace.h - Search and replace
//
//////////////////////////////////////////////////////////////////////////
#ifndef dlgFindReplace_H
#define dlgFindReplace_H
#include "dlg/dlgClasses.h"
#include "ctl/ctlAuiNotebook.h"
class ctlSQLBox;
// Class declarations
class dlgFindReplace : public pgDialog
{
public:
dlgFindReplace(ctlSQLBox *parent);
~dlgFindReplace();
void FocusSearch();
void FindNext();
void SetFindString(const wxString &val);
private:
void OnClose(wxCloseEvent &ev);
void OnCancel(wxCommandEvent &ev);
void OnChange(wxCommandEvent &ev);
void OnFind(wxCommandEvent &ev);
void OnReplace(wxCommandEvent &ev);
void OnReplaceAll(wxCommandEvent &ev);
void ResetTabOrder();
void SaveSettings();
ctlSQLBox *sqlbox,*startsqlbox;
DECLARE_EVENT_TABLE()
};
#endif