Win32: remove dead code in keyboard event handling.
The forwarding is now performed explicitly in the text window setup code, so this branch never has a chance to run.pull/420/head
parent
bda3b80609
commit
e11e23483d
|
@ -942,13 +942,6 @@ public:
|
||||||
|
|
||||||
if(window->onKeyboardEvent) {
|
if(window->onKeyboardEvent) {
|
||||||
window->onKeyboardEvent(event);
|
window->onKeyboardEvent(event);
|
||||||
} else {
|
|
||||||
HWND hParent;
|
|
||||||
sscheck(hParent = GetParent(h));
|
|
||||||
if(hParent != NULL) {
|
|
||||||
sscheck(SetForegroundWindow(hParent));
|
|
||||||
sscheck(SendMessageW(hParent, msg, wParam, lParam));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue