Code::Blocks  SVN r11506
confirmreplacedlg.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
3  * http://www.gnu.org/licenses/lgpl-3.0.html
4  */
5 
6 #ifndef CONFIRMREPLACEDLG_H
7 #define CONFIRMREPLACEDLG_H
8 
9 #include "scrollingdialog.h"
10 #include <wx/intl.h>
11 #include "settings.h"
12 
13 class cbStyledTextCtrl;
14 
16 {
17  crYes = 0,
23 };
24 
26 {
27  public:
28  ConfirmReplaceDlg(wxWindow* parent, bool replaceInFiles = false,
29  const wxString& label = _("Replace this occurrence?"));
30  ~ConfirmReplaceDlg() override;
31  void OnYes(wxCommandEvent& event);
32  void OnNo(wxCommandEvent& event);
33  void OnAllInFile(wxCommandEvent& event);
34  void OnSkipFile(wxCommandEvent& event);
35  void OnAll(wxCommandEvent& event);
36  void OnCancel(wxCommandEvent& event);
37  void CalcPosition(cbStyledTextCtrl* ed);
38 
39  private:
40  DECLARE_EVENT_TABLE()
41 };
42 
43 #endif // CONFIRMREPLACEDLG_H
#define DLLIMPORT
Definition: settings.h:16
ConfirmResponse
const wxString & _(const wxString &string)