Added WM_GETDLGCODE message handler so keyboard works properly when Gecko is embedded inside a dialog box. b=101571 r/sr=hyatt@netscape.com
This commit is contained in:
Родитель
a3d31a834b
Коммит
09571edb71
|
@ -3198,6 +3198,11 @@ PRBool nsWindow::ProcessMessage(UINT msg, WPARAM wParam, LPARAM lParam, LRESULT
|
|||
}
|
||||
break;
|
||||
|
||||
case WM_GETDLGCODE:
|
||||
*aRetValue = DLGC_WANTALLKEYS;
|
||||
result = PR_TRUE;
|
||||
break;
|
||||
|
||||
case WM_MOUSEMOVE:
|
||||
//RelayMouseEvent(msg,wParam, lParam);
|
||||
result = DispatchMouseEvent(NS_MOUSE_MOVE);
|
||||
|
|
Загрузка…
Ссылка в новой задаче