Code::Blocks
SVN r11506
include
editpairdlg.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 EDITPAIRDLG_H
7
#define EDITPAIRDLG_H
8
9
#include <
wx/intl.h
>
10
#include "
scrollingdialog.h
"
11
12
class
DLLIMPORT
EditPairDlg
:
public
wxScrollingDialog
13
{
14
public
:
15
enum
BrowseMode
16
{
17
bmDisable = 0,
18
bmBrowseForFile
,
19
bmBrowseForDirectory
20
};
21
22
EditPairDlg
(
wxWindow
* parent,
wxString
& key,
wxString
& value,
const
wxString
& title =
_
(
"Edit pair"
),
BrowseMode
allowBrowse = bmDisable);
23
~
EditPairDlg
()
override
;
24
EditPairDlg
&
operator=
(
const
EditPairDlg
&){
return
*
this
; }
// just to satisfy script bindings (never used)
25
void
EndModal
(
int
retCode)
override
;
26
protected
:
27
void
OnUpdateUI(
wxUpdateUIEvent
& event);
28
void
OnBrowse(
wxCommandEvent
& event);
29
30
wxString
&
m_Key
;
31
wxString
&
m_Value
;
32
BrowseMode
m_BrowseMode
;
33
private
:
34
DECLARE_EVENT_TABLE()
35
};
36
37
#endif // EDITPAIRDLG_H
ScriptBindings::EndModal
void EndModal(int retCode)
Definition:
sc_dialog.cpp:112
intl.h
EditPairDlg::bmBrowseForFile
Definition:
editpairdlg.h:18
wxScrollingDialog
Definition:
scrollingdialog.h:163
scrollingdialog.h
wxUpdateUIEvent
wxCommandEvent
DLLIMPORT
#define DLLIMPORT
Definition:
settings.h:16
wxString
EditPairDlg::BrowseMode
BrowseMode
Definition:
editpairdlg.h:15
_
const wxString & _(const wxString &string)
EditPairDlg
Definition:
editpairdlg.h:12
EditPairDlg::m_BrowseMode
BrowseMode m_BrowseMode
Definition:
editpairdlg.h:32
EditPairDlg::m_Key
wxString & m_Key
Definition:
editpairdlg.h:30
EditPairDlg::operator=
EditPairDlg & operator=(const EditPairDlg &)
Definition:
editpairdlg.h:24
wxWindow
EditPairDlg::m_Value
wxString & m_Value
Definition:
editpairdlg.h:31
Generated by
1.8.13