kbd traversal code now knows that DLGC_WANTALLKEYS implies DLGC_WANTTAB/ARROWS; this fixes the problem with editing a list/tree ctrl item in place -- you could TAB out of it before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1961,6 +1961,14 @@ bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg)
|
|||||||
if ( !bCtrlDown )
|
if ( !bCtrlDown )
|
||||||
{
|
{
|
||||||
lDlgCode = ::SendMessage(msg->hwnd, WM_GETDLGCODE, 0, 0);
|
lDlgCode = ::SendMessage(msg->hwnd, WM_GETDLGCODE, 0, 0);
|
||||||
|
|
||||||
|
// surprizingly, DLGC_WANTALLKEYS bit mask doesn't contain the
|
||||||
|
// DLGC_WANTTAB nor DLGC_WANTARROWS bits although, logically,
|
||||||
|
// it, of course, implies them
|
||||||
|
if ( lDlgCode & DLGC_WANTALLKEYS )
|
||||||
|
{
|
||||||
|
lDlgCode |= DLGC_WANTTAB | DLGC_WANTARROWS;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool bForward = TRUE,
|
bool bForward = TRUE,
|
||||||
|
Reference in New Issue
Block a user