diff --git a/src/platform/guiwin.cpp b/src/platform/guiwin.cpp index 73da2daa..8688d64b 100644 --- a/src/platform/guiwin.cpp +++ b/src/platform/guiwin.cpp @@ -942,13 +942,6 @@ public: if(window->onKeyboardEvent) { window->onKeyboardEvent(event); - } else { - HWND hParent; - sscheck(hParent = GetParent(h)); - if(hParent != NULL) { - sscheck(SetForegroundWindow(hParent)); - sscheck(SendMessageW(hParent, msg, wParam, lParam)); - } } break; }