1
1
//////////////////////////////////////////////////////////////////////////////
2
2
//////////////////////////////////////////////////////////////////////////////
4
// copyright : (C) 2008 by Eran Ifrah
5
// file name : newkeyshortcutdlg.h
4
// copyright : (C) 2008 by Eran Ifrah
5
// file name : newkeyshortcutdlg.h
7
7
// -------------------------------------------------------------------------
10
// / __ \ | | | | (_) |
11
// | / \/ ___ __| | ___| | _| |_ ___
12
// | | / _ \ / _ |/ _ \ | | | __/ _ )
13
// | \__/\ (_) | (_| | __/ |___| | || __/
14
// \____/\___/ \__,_|\___\_____/_|\__\___|
18
// This program is free software; you can redistribute it and/or modify
19
// it under the terms of the GNU General Public License as published by
20
// the Free Software Foundation; either version 2 of the License, or
21
// (at your option) any later version.
23
//////////////////////////////////////////////////////////////////////////////
24
//////////////////////////////////////////////////////////////////////////////
25
#ifndef __newkeyshortcutdlg__
26
#define __newkeyshortcutdlg__
30
Subclass of NewKeyShortcutBaseDlg, which is generated by wxFormBuilder.
10
// / __ \ | | | | (_) |
11
// | / \/ ___ __| | ___| | _| |_ ___
12
// | | / _ \ / _ |/ _ \ | | | __/ _ )
13
// | \__/\ (_) | (_| | __/ |___| | || __/
14
// \____/\___/ \__,_|\___\_____/_|\__\___|
18
// This program is free software; you can redistribute it and/or modify
19
// it under the terms of the GNU General Public License as published by
20
// the Free Software Foundation; either version 2 of the License, or
21
// (at your option) any later version.
23
//////////////////////////////////////////////////////////////////////////////
24
//////////////////////////////////////////////////////////////////////////////
25
#ifndef __newkeyshortcutdlg__
26
#define __newkeyshortcutdlg__
30
Subclass of NewKeyShortcutBaseDlg, which is generated by wxFormBuilder.
33
33
#include "manager.h"
34
#include "newkeyshortcutbasedlg.h"
36
/** Implementing NewKeyShortcutBaseDlg */
37
class NewKeyShortcutDlg : public NewKeyShortcutBaseDlg
34
#include "newkeyshortcutbasedlg.h"
36
/** Implementing NewKeyShortcutBaseDlg */
37
class NewKeyShortcutDlg : public NewKeyShortcutBaseDlg
39
39
MenuItemData m_mid;
42
// Handlers for NewKeyShortcutBaseDlg events.
42
// Handlers for NewKeyShortcutBaseDlg events.
43
43
void OnKeyDown( wxKeyEvent& event );
44
44
void OnButtonClear(wxCommandEvent &event);
46
46
wxString ToString(wxKeyEvent &e);
50
50
NewKeyShortcutDlg( wxWindow* parent, const MenuItemData &mid );
51
wxString GetAccel(){return m_textCtrl1->GetValue();}
54
#endif // __newkeyshortcutdlg__
52
return m_textCtrl1->GetValue();
56
#endif // __newkeyshortcutdlg__