Send hotkey is Ctrl+Enter now (since text controls are multiline now and consume Enter themselves)
This commit is contained in:
parent
03b855fbbb
commit
7c5cf56820
@ -62,7 +62,7 @@ wxZRColaFrame::wxZRColaFrame() :
|
|||||||
// Register frame specific hotkey(s).
|
// Register frame specific hotkey(s).
|
||||||
{
|
{
|
||||||
wxAcceleratorEntry entries[2];
|
wxAcceleratorEntry entries[2];
|
||||||
entries[0].Set(wxACCEL_NORMAL, WXK_RETURN, wxID_SEND);
|
entries[0].Set(wxACCEL_CTRL , WXK_RETURN, wxID_SEND);
|
||||||
entries[1].Set(wxACCEL_NORMAL, WXK_ESCAPE, wxID_SEND_ABORT);
|
entries[1].Set(wxACCEL_NORMAL, WXK_ESCAPE, wxID_SEND_ABORT);
|
||||||
SetAcceleratorTable(wxAcceleratorTable(_countof(entries), entries));
|
SetAcceleratorTable(wxAcceleratorTable(_countof(entries), entries));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user