support Ctrl-PageUp/Dn for changing the notebook pages in addition to [Shift-]Ctrl-Tab (this is also a standard key combination)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2105,6 +2105,20 @@ bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg)
|
|||||||
bProcess = false;
|
bProcess = false;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case VK_PRIOR:
|
||||||
|
bForward = false;
|
||||||
|
// fall through
|
||||||
|
|
||||||
|
case VK_NEXT:
|
||||||
|
// we treat PageUp/Dn as arrows because chances are that
|
||||||
|
// a control which needs arrows also needs them for
|
||||||
|
// navigation (e.g. wxTextCtrl, wxListCtrl, ...)
|
||||||
|
if ( (lDlgCode & DLGC_WANTARROWS) || !bCtrlDown )
|
||||||
|
bProcess = false;
|
||||||
|
else
|
||||||
|
bWindowChange = true;
|
||||||
|
break;
|
||||||
|
|
||||||
case VK_RETURN:
|
case VK_RETURN:
|
||||||
{
|
{
|
||||||
if ( (lDlgCode & DLGC_WANTMESSAGE) && !bCtrlDown )
|
if ( (lDlgCode & DLGC_WANTMESSAGE) && !bCtrlDown )
|
||||||
|
Reference in New Issue
Block a user