Issue #386 - Fixed setting of hotkeys to enter.

Originally committed to SVN as r1469.
This commit is contained in:
Rodrigo Braz Monteiro 2007-08-04 09:23:21 +00:00
parent 9b282c8893
commit 53a95b3af2
2 changed files with 2 additions and 2 deletions

View file

@ -1023,7 +1023,7 @@ DialogInputHotkey::DialogInputHotkey(HotkeyType *_key,wxString name)
////////////////////////
// Capturer constructor
CaptureKey::CaptureKey(DialogInputHotkey *_parent)
: wxTextCtrl(_parent,-1,_T(""),wxDefaultPosition,wxSize(0,0))
: wxTextCtrl(_parent,-1,_T(""),wxDefaultPosition,wxSize(0,0),wxTE_PROCESS_ENTER | wxTE_PROCESS_TAB)
{
parent = _parent;
SetFocus();

View file

@ -1220,7 +1220,7 @@ void FrameMain::StatusTimeout(wxString text,int ms) {
// Setup accelerator table
void FrameMain::SetAccelerators() {
std::vector<wxAcceleratorEntry> entry;
entry.reserve(20);
entry.reserve(32);
// Standard
entry.push_back(Hotkeys.GetAccelerator(_T("Video global prev frame"),Video_Prev_Frame));