From: Vadim Zeitlin Date: Sun, 26 May 2013 13:14:43 +0000 (+0000) Subject: Ensure that detached menus don't keep focus grab in wxGTK. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/830c06655b226cfe9fe55d57da8c948d1744107c?hp=830c06655b226cfe9fe55d57da8c948d1744107c Ensure that detached menus don't keep focus grab in wxGTK. A widget being hidden must remove its focus grab with GTK+, otherwise GTK+ would continue sending all input messages to it but fail to process them because the widget is not realized any more, resulting in a complete freeze of the entire program. Do it when detaching menus from menubar and menubar from the frame to fix just such a problem in case SetMenuBar() was called while the previous menubar was opened. Closes #15221. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 ---