Code::Blocks
SVN r11506
include
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
15
enum
ConfirmResponse
16
{
17
crYes
= 0,
18
crNo
,
19
crAllInFile
,
20
crSkipFile
,
21
crAll
,
22
crCancel
23
};
24
25
class
DLLIMPORT
ConfirmReplaceDlg
:
public
wxScrollingDialog
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
intl.h
crNo
Definition:
confirmreplacedlg.h:18
wxScrollingDialog
Definition:
scrollingdialog.h:163
scrollingdialog.h
crYes
Definition:
confirmreplacedlg.h:17
ConfirmReplaceDlg
Definition:
confirmreplacedlg.h:25
wxCommandEvent
DLLIMPORT
#define DLLIMPORT
Definition:
settings.h:16
ConfirmResponse
ConfirmResponse
Definition:
confirmreplacedlg.h:15
settings.h
wxString
crAll
Definition:
confirmreplacedlg.h:21
cbStyledTextCtrl
Definition:
cbstyledtextctrl.h:21
crSkipFile
Definition:
confirmreplacedlg.h:20
crAllInFile
Definition:
confirmreplacedlg.h:19
_
const wxString & _(const wxString &string)
crCancel
Definition:
confirmreplacedlg.h:22
wxWindow
Generated by
1.8.13